Skip to content

Commit 94b7ef9

Browse files
GrahamCampbelltaylorotwell
authored andcommitted
Apply fixes from StyleCI (#28864)
1 parent 72530ab commit 94b7ef9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Illuminate/Database/Eloquent/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ public function applyScopes()
913913
continue;
914914
}
915915

916-
$builder->callScope(function (Builder $builder) use ($scope) {
916+
$builder->callScope(function (self $builder) use ($scope) {
917917
// If the scope is a Closure we will just go ahead and call the scope with the
918918
// builder instance. The "callScope" method will properly group the clauses
919919
// that are added to this query so "where" clauses maintain proper logic.

src/Illuminate/Foundation/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ public function isLocale($locale)
11061106
public function registerCoreContainerAliases()
11071107
{
11081108
foreach ([
1109-
'app' => [\Illuminate\Foundation\Application::class, \Illuminate\Contracts\Container\Container::class, \Illuminate\Contracts\Foundation\Application::class, \Psr\Container\ContainerInterface::class],
1109+
'app' => [self::class, \Illuminate\Contracts\Container\Container::class, \Illuminate\Contracts\Foundation\Application::class, \Psr\Container\ContainerInterface::class],
11101110
'auth' => [\Illuminate\Auth\AuthManager::class, \Illuminate\Contracts\Auth\Factory::class],
11111111
'auth.driver' => [\Illuminate\Contracts\Auth\Guard::class],
11121112
'blade.compiler' => [\Illuminate\View\Compilers\BladeCompiler::class],

tests/Integration/Foundation/FoundationHelpersTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/**
99
* @group integration
1010
*/
11-
class HelpersTest extends TestCase
11+
class FoundationHelpersTest extends TestCase
1212
{
1313
public function test_rescue()
1414
{

0 commit comments

Comments
 (0)