Skip to content

Commit b0a22fc

Browse files
committed
Merge pull request laravel#3501 from crynobone/feature/use-this
[5.1] Use $this instead of parent.
2 parents 24575f4 + 50357d8 commit b0a22fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Providers/AuthServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class AuthServiceProvider extends ServiceProvider
2424
*/
2525
public function boot(GateContract $gate)
2626
{
27-
parent::registerPolicies($gate);
27+
$this->registerPolicies($gate);
2828

2929
//
3030
}

0 commit comments

Comments
 (0)