update 1.0.8.0
Commits for version update
This commit is contained in:
		
							
								
								
									
										13
									
								
								vendor/brozot/laravel-fcm/src/FCMManager.php
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								vendor/brozot/laravel-fcm/src/FCMManager.php
									
									
									
									
										vendored
									
									
								
							| @@ -1,6 +1,5 @@ | ||||
| <?php namespace LaravelFCM; | ||||
|  | ||||
|  | ||||
| use GuzzleHttp\Client; | ||||
| use Illuminate\Support\Manager; | ||||
|  | ||||
| @@ -8,14 +7,14 @@ class FCMManager extends Manager { | ||||
|  | ||||
| 	public function getDefaultDriver() | ||||
| 	{ | ||||
| 		return $this->app['config']['fcm.driver']; | ||||
| 		return $this->app[ 'config' ][ 'fcm.driver' ]; | ||||
| 	} | ||||
| 	 | ||||
|  | ||||
| 	protected function createHttpDriver() | ||||
| 	{ | ||||
| 		$config = $this->app['config']->get('fcm.http', []); | ||||
| 		return new Client([ | ||||
| 			'timeout'  => $config['timeout'], | ||||
| 		]); | ||||
| 		$config = $this->app[ 'config' ]->get('fcm.http', []); | ||||
|  | ||||
| 		return new Client([ 'timeout' => $config[ 'timeout' ] ]); | ||||
| 	} | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Manish Verma
					Manish Verma