Skip to content

Commit f8f8de3

Browse files
StyleCIBotnunomaduro
authored andcommitted
Apply fixes from StyleCI
1 parent 0b92669 commit f8f8de3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Illuminate/Foundation/Image/Image.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function storePublicly(string $path = '', array|string $options = []): st
176176
/**
177177
* Store the processed image on a filesystem disk with a given name.
178178
*/
179-
public function storeAs(string $path, string|null $name = null, array|string $options = []): string|false
179+
public function storeAs(string $path, ?string $name = null, array|string $options = []): string|false
180180
{
181181
if (is_null($name) || is_array($name)) {
182182
[$path, $name, $options] = ['', $path, $name ?? []];
@@ -198,7 +198,7 @@ public function storeAs(string $path, string|null $name = null, array|string $op
198198
/**
199199
* Store the processed image on a filesystem disk with public visibility and a given name.
200200
*/
201-
public function storePubliclyAs(string $path, string|null $name = null, array|string $options = []): string|false
201+
public function storePubliclyAs(string $path, ?string $name = null, array|string $options = []): string|false
202202
{
203203
if (is_null($name) || is_array($name)) {
204204
[$path, $name, $options] = ['', $path, $name ?? []];

0 commit comments

Comments
 (0)