8000 Apply fixes from StyleCI (#29061) · laravel/framework@d932276 · GitHub
[go: up one dir, main page]

Skip to content

Commit d932276

Browse files
authored
Apply fixes from StyleCI (#29061)
1 parent ebff046 commit d932276

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Illuminate/Database/Eloquent/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ public function applyScopes()
951951
continue;
952952
}
953953

954-
$builder->callScope(function (Builder $builder) use ($scope) {
954+
$builder->callScope(function (self $builder) use ($scope) {
955955
// If the scope is a Closure we will just go ahead and call the scope with the
956956
// builder instance. The "callScope" method will properly group the clauses
957957
// 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
@@ -1100,7 +1100,7 @@ public function isLocale($locale)
11001100
public function registerCoreContainerAliases()
11011101
{
11021102
foreach ([
1103-
'app' => [\Illuminate\Foundation\Application::class, \Illuminate\Contracts\Container\Container::class, \Illuminate\Contracts\Foundation\Application::class, \Psr\Container\ContainerInterface::class],
1103+
'app' => [self::class, \Illuminate\Contracts\Container\Container::class, \Illuminate\Contracts\Foundation\Application::class, \Psr\Container\ContainerInterface::class],
11041104
'auth' => [\Illuminate\Auth\AuthManager::class, \Illuminate\Contracts\Auth\Factory::class],
11051105
'auth.driver' => [\Illuminate\Contracts\Auth\Guard::class],
11061106
'blade.compiler' => [\Illuminate\View\Compilers\BladeCompiler::class],

0 commit comments

Comments
 (0)
0