Skip to content

Commit 61536c2

Browse files
authored
Merge pull request #28302 from laravel/analysis-8K763Q
Apply fixes from StyleCI
2 parents ed2fbb1 + cfbaea0 commit 61536c2

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

src/Illuminate/Auth/EloquentUserProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function retrieveByToken($identifier, $token)
6565
$model = $model->where($model->getAuthIdentifierName(), $identifier)->first();
6666

6767
if (! $model) {
68-
return null;
68+
return;
6969
}
7070

7171
$rememberToken = $model->getRememberToken();

src/Illuminate/Http/Resources/ConditionallyLoadsAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ protected function whenLoaded($relationship, $value = null, $default = null)
133133
}
134134

135135
if ($this->resource->{$relationship} === null) {
136-
return null;
136+
return;
137137
}
138138

139139
return value($value);

tests/Console/Scheduling/CacheOverlappingStrategyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Illuminate\Console\Scheduling\Event;
88
use Illuminate\Console\Scheduling\CacheMutex;
99

10-
class CacheMutexTest extends TestCase
10+
class CacheOverlappingStrategyTest extends TestCase
1111
{
1212
/**
1313
* @var CacheMutex

tests/Notifications/NotificationMailMessageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use PHPUnit\Framework\TestCase;
66
use Illuminate\Notifications\Messages\MailMessage;
77

8-
class NotificationsMailMessageTest extends TestCase
8+
class NotificationMailMessageTest extends TestCase
99
{
1010
public function setUp()
1111
{

tests/View/Blade/BladeEndSectionTest.php

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

33
namespace Illuminate\Tests\View\Blade;
44

5-
class BladeStopTest extends AbstractBladeTestCase
5+
class BladeEndSectionTest extends AbstractBladeTestCase
66
{
77
public function testStopSectionsAreCompiled()
88
{

tests/View/Blade/BladeIfIEmptyStatementsTest.php

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

33
namespace Illuminate\Tests\View\Blade;
44

5-
class BladeIfEmptyStatementsTest extends AbstractBladeTestCase
5+
class BladeIfIEmptyStatementsTest extends AbstractBladeTestCase
66
{
77
public function testIfStatementsAreCompiled()
88
{

tests/View/ViewFileViewFinderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Mockery as m;
66
use PHPUnit\Framework\TestCase;
77

8-
class ViewFinderTest extends TestCase
8+
class ViewFileViewFinderTest extends TestCase
99
{
1010
public function tearDown()
1111
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php echo $__env->yieldContent('content'); ?>
1+
<?php echo $__env->yieldContent('content');

0 commit comments

Comments
 (0)