Skip to content

Commit 0dfc90d

Browse files
hivokasactions-user
authored andcommitted
Fix styling
1 parent f9f37a7 commit 0dfc90d

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

.php_cs.cache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"php":"7.4.7","version":"2.16.4","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline"},"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":true,"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sortAlgorithm":"alpha"},"no_unused_imports":true},"hashes":{"src\/SharedData.php":527111957,"src\/helpers.php":641919030,"src\/Providers\/SharedDataServiceProvider.php":3091181187,"src\/Facades\/SharedData.php":1554611061,"config\/shared-data.php":316763767,"tests\/SharedDataTest.php":1736807944,"tests\/AbstractTestCase.php":312210568}}

src/Providers/SharedDataServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
namespace Coderello\SharedData\Providers;
44

55
use Coderello\SharedData\SharedData;
6+
use Illuminate\Contracts\Support\DeferrableProvider;
67
use Illuminate\Support\ServiceProvider;
78
use Illuminate\View\Compilers\BladeCompiler;
8-
use Illuminate\Contracts\Support\DeferrableProvider;
99

1010
class SharedDataServiceProvider extends ServiceProvider implements DeferrableProvider
1111
{

src/SharedData.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
use ArrayAccess;
66
use Closure;
77
use Illuminate\Contracts\Support\Arrayable;
8-
use Illuminate\Support\Arr;
9-
use InvalidArgumentException;
108
use Illuminate\Contracts\Support\Jsonable;
119
use Illuminate\Contracts\Support\Renderable;
10+
use Illuminate\Support\Arr;
11+
use InvalidArgumentException;
1212
use JsonSerializable;
1313

1414
class SharedData implements Renderable, Jsonable, Arrayable, JsonSerializable, ArrayAccess
@@ -146,8 +146,7 @@ public function getJsHelperName(): string
146146
return $this->jsHelperName;
147147
}
148148

149-
public function setJsHelperName
150-
(string $jsHelperName)
149+
public function setJsHelperName(string $jsHelperName)
151150
: self
152151
{
153152
$this->jsHelperName = $jsHelperName;

tests/AbstractTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Coderello\SharedData\Tests;
44

5-
use Orchestra\Testbench\TestCase;
65
use Coderello\SharedData\Providers\SharedDataServiceProvider;
6+
use Orchestra\Testbench\TestCase;
77

88
abstract class AbstractTestCase extends TestCase
99
{

tests/SharedDataTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Coderello\SharedData\Tests;
44

5-
use Coderello\SharedData\Providers\SharedDataServiceProvider;
65
use Coderello\SharedData\SharedData;
76
use Illuminate\Contracts\Support\Arrayable;
87
use JsonSerializable;

0 commit comments

Comments
 (0)