| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Darryldecode\Cart; |
||
| 31 | public function register() |
||
| 32 | { |
||
| 33 | $this->mergeConfigFrom(__DIR__.'/config/config.php', 'shopping_cart'); |
||
| 34 | |||
| 35 | $this->app['cart'] = $this->app->share(function($app) |
||
|
|
|||
| 36 | { |
||
| 37 | $storage = $app['session']; |
||
| 38 | $events = $app['events']; |
||
| 39 | $instanceName = 'cart'; |
||
| 40 | $session_key = '4yTlTDKu3oJOfzD'; |
||
| 41 | |||
| 42 | return new Cart( |
||
| 43 | $storage, |
||
| 44 | $events, |
||
| 45 | $instanceName, |
||
| 46 | $session_key, |
||
| 47 | config('geoip') |
||
| 48 | ); |
||
| 49 | }); |
||
| 50 | } |
||
| 51 | |||
| 62 |
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.