Skip to content

Commit

Permalink
Fixed code-style
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar committed Nov 14, 2023
1 parent 6750566 commit 2ec8662
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
3 changes: 0 additions & 3 deletions src/Concerns/Call.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ trait Call
{
use Arrayable;

/**
* @param mixed $callback
*/
protected function call(mixed $callback = null): mixed
{
return $this->isCallable($callback) ? $callback() : $callback;
Expand Down
12 changes: 6 additions & 6 deletions tests/Support/KeyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public function testString()
{
$key = Key::get(':', ['Foo', 'Bar', 'Baz']);

$expected =
'17358f5eb750c32289df798e7766e830:64db6856f253b7bf17202a3dd3254fc1:05797d9d2d667864e94e07ba8df60840';
$expected
= '17358f5eb750c32289df798e7766e830:64db6856f253b7bf17202a3dd3254fc1:05797d9d2d667864e94e07ba8df60840';

$this->assertSame($expected, $key);
}
Expand All @@ -41,8 +41,8 @@ public function testNumeric()
{
$key = Key::get(':', [1, 2, 3]);

$expected =
'd944267ac25276f12cb03fc698810d94:7b2fb106352b24c6dd644a8cdf200295:d8526ab50063e2025ef690f730cd5542';
$expected
= 'd944267ac25276f12cb03fc698810d94:7b2fb106352b24c6dd644a8cdf200295:d8526ab50063e2025ef690f730cd5542';

$this->assertSame($expected, $key);
}
Expand Down Expand Up @@ -154,8 +154,8 @@ public function testModelKey()
{
$key = Key::get(':', [User::class, 'foo', 'bar']);

$expected =
'87789eae95facc4a5bfdeb957b860942:086f76c144511e1198c29a261e87ca50:2b72000f7b07c51cbbe0e7f85a19597e';
$expected
= '87789eae95facc4a5bfdeb957b860942:086f76c144511e1198c29a261e87ca50:2b72000f7b07c51cbbe0e7f85a19597e';

$this->assertSame($expected, $key);
}
Expand Down

0 comments on commit 2ec8662

Please sign in to comment.