File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,6 @@ trait Call
88{
99 use Arrayable;
1010
11- /**
12- * @param mixed $callback
13- */
1411 protected function call (mixed $ callback = null ): mixed
1512 {
1613 return $ this ->isCallable ($ callback ) ? $ callback () : $ callback ;
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ public function testString()
3131 {
3232 $ key = Key::get (': ' , ['Foo ' , 'Bar ' , 'Baz ' ]);
3333
34- $ expected =
35- '17358f5eb750c32289df798e7766e830:64db6856f253b7bf17202a3dd3254fc1:05797d9d2d667864e94e07ba8df60840 ' ;
34+ $ expected
35+ = '17358f5eb750c32289df798e7766e830:64db6856f253b7bf17202a3dd3254fc1:05797d9d2d667864e94e07ba8df60840 ' ;
3636
3737 $ this ->assertSame ($ expected , $ key );
3838 }
@@ -41,8 +41,8 @@ public function testNumeric()
4141 {
4242 $ key = Key::get (': ' , [1 , 2 , 3 ]);
4343
44- $ expected =
45- 'd944267ac25276f12cb03fc698810d94:7b2fb106352b24c6dd644a8cdf200295:d8526ab50063e2025ef690f730cd5542 ' ;
44+ $ expected
45+ = 'd944267ac25276f12cb03fc698810d94:7b2fb106352b24c6dd644a8cdf200295:d8526ab50063e2025ef690f730cd5542 ' ;
4646
4747 $ this ->assertSame ($ expected , $ key );
4848 }
@@ -154,8 +154,8 @@ public function testModelKey()
154154 {
155155 $ key = Key::get (': ' , [User::class, 'foo ' , 'bar ' ]);
156156
157- $ expected =
158- '87789eae95facc4a5bfdeb957b860942:086f76c144511e1198c29a261e87ca50:2b72000f7b07c51cbbe0e7f85a19597e ' ;
157+ $ expected
158+ = '87789eae95facc4a5bfdeb957b860942:086f76c144511e1198c29a261e87ca50:2b72000f7b07c51cbbe0e7f85a19597e ' ;
159159
160160 $ this ->assertSame ($ expected , $ key );
161161 }
You can’t perform that action at this time.
0 commit comments