Skip to content

Commit

Permalink
Apply fixes from StyleCI (#31014)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored and taylorotwell committed Jan 3, 2020
1 parent 9b3ee46 commit 3d432b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Foundation/Testing/Constraints/SeeInOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function __construct($content)
* @param array $values
* @return bool
*/
public function matches($values) : bool
public function matches($values): bool
{
$position = 0;

Expand Down Expand Up @@ -67,7 +67,7 @@ public function matches($values) : bool
* @param array $values
* @return string
*/
public function failureDescription($values) : string
public function failureDescription($values): string
{
return sprintf(
'Failed asserting that \'%s\' contains "%s" in specified order.',
Expand All @@ -81,7 +81,7 @@ public function failureDescription($values) : string
*
* @return string
*/
public function toString() : string
public function toString(): string
{
return (new ReflectionClass($this))->name;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Foundation/Http/Middleware/TrimStringsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class TrimStringsTest extends TestCase
{
public function testTrimStringsIgnoringExceptAttribute() : void
public function testTrimStringsIgnoringExceptAttribute(): void
{
$middleware = new TrimStringsWithExceptAttribute();
$symfonyRequest = new SymfonyRequest([
Expand Down

0 comments on commit 3d432b4

Please sign in to comment.