laravel-6 support
This commit is contained in:
		| @@ -3,8 +3,8 @@ | ||||
| namespace Illuminate\Config; | ||||
|  | ||||
| use ArrayAccess; | ||||
| use Illuminate\Support\Arr; | ||||
| use Illuminate\Contracts\Config\Repository as ConfigContract; | ||||
| use Illuminate\Support\Arr; | ||||
|  | ||||
| class Repository implements ArrayAccess, ConfigContract | ||||
| { | ||||
| @@ -41,7 +41,7 @@ class Repository implements ArrayAccess, ConfigContract | ||||
|      * Get the specified configuration value. | ||||
|      * | ||||
|      * @param  array|string  $key | ||||
|      * @param  mixed   $default | ||||
|      * @param  mixed  $default | ||||
|      * @return mixed | ||||
|      */ | ||||
|     public function get($key, $default = null) | ||||
| @@ -78,7 +78,7 @@ class Repository implements ArrayAccess, ConfigContract | ||||
|      * Set a given configuration value. | ||||
|      * | ||||
|      * @param  array|string  $key | ||||
|      * @param  mixed   $value | ||||
|      * @param  mixed  $value | ||||
|      * @return void | ||||
|      */ | ||||
|     public function set($key, $value = null) | ||||
|   | ||||
| @@ -14,9 +14,9 @@ | ||||
|         } | ||||
|     ], | ||||
|     "require": { | ||||
|         "php": "^7.1.3", | ||||
|         "illuminate/contracts": "5.8.*", | ||||
|         "illuminate/support": "5.8.*" | ||||
|         "php": "^7.2.5|^8.0", | ||||
|         "illuminate/contracts": "^6.0", | ||||
|         "illuminate/support": "^6.0" | ||||
|     }, | ||||
|     "autoload": { | ||||
|         "psr-4": { | ||||
| @@ -25,7 +25,7 @@ | ||||
|     }, | ||||
|     "extra": { | ||||
|         "branch-alias": { | ||||
|             "dev-master": "5.8-dev" | ||||
|             "dev-master": "6.x-dev" | ||||
|         } | ||||
|     }, | ||||
|     "config": { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 RafficMohammed
					RafficMohammed