Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
tomschlick authored and StyleCIBot committed Mar 22, 2020
1 parent 2e31d50 commit a8db1d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Linkable.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ trait Linkable
*
* @return string
*/
public function link() : string
public function link(): string
{
return $this->sublink('show');
}
Expand All @@ -25,7 +25,7 @@ public function link() : string
*
* @return mixed
*/
abstract public function sublink(string $key, array $attr = []) : string;
abstract public function sublink(string $key, array $attr = []): string;

/**
* Redirect directly to the resource.
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ abstract class TestCase extends Orchestra
/**
* SetUp.
*/
protected function setUp() : void
protected function setUp(): void
{
parent::setUp();

Expand All @@ -22,7 +22,7 @@ protected function setUp() : void
/**
* @param string $name
*/
public function assertHasRoute(string $name) : void
public function assertHasRoute(string $name): void
{
$routes = [];

Expand Down

0 comments on commit a8db1d5

Please sign in to comment.