1 | <?php |
||
12 | class ExpoPushNotificationsServiceProvider extends ServiceProvider |
||
13 | { |
||
14 | /** |
||
15 | * Bootstrap the application services. |
||
16 | */ |
||
17 | 23 | public function boot() |
|
41 | |||
42 | /** |
||
43 | * Register the application services. |
||
44 | */ |
||
45 | 23 | public function register() |
|
49 | |||
50 | /** |
||
51 | * @return ExpoRepository |
||
52 | */ |
||
53 | 23 | public function getInterestsDriver() |
|
65 | } |
||
66 |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.