| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Usman\Guardian\AccessControl; |
||
| 13 | public function register() |
||
| 14 | { |
||
| 15 | $this->app->bindShared('guardian',function($app) |
||
|
|
|||
| 16 | { |
||
| 17 | return new Guardian($app['auth']); |
||
| 18 | }); |
||
| 19 | |||
| 20 | /*$this->app->booting(function() //registers a boot listener... should better go in boot(). |
||
| 21 | { |
||
| 22 | $loader = AliasLoader::getInstance(); |
||
| 23 | $loader->alias('Guardian','Usman\Guardian\AccessControl\GuardianFacade'); |
||
| 24 | });*/ |
||
| 25 | } |
||
| 26 | |||
| 38 | } |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.