Skip to content

Commit

Permalink
Merge pull request #10269 from saeideng/patch-1
Browse files Browse the repository at this point in the history
update configShallow
  • Loading branch information
markstory committed Feb 22, 2017
2 parents 9c5f57f + 7a80288 commit 39ec5b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Core/InstanceConfigTrait.php
Expand Up @@ -180,19 +180,19 @@ public function config($key = null, $value = null, $merge = true)
* Setting a specific value:
*
* ```
* $this->config('key', $value);
* $this->configShallow('key', $value);
* ```
*
* Setting a nested value:
*
* ```
* $this->config('some.nested.key', $value);
* $this->configShallow('some.nested.key', $value);
* ```
*
* Updating multiple config settings at the same time:
*
* ```
* $this->config(['one' => 'value', 'another' => 'value']);
* $this->configShallow(['one' => 'value', 'another' => 'value']);
* ```
*
* @param string|array $key The key to set, or a complete array of configs.
Expand Down

0 comments on commit 39ec5b7

Please sign in to comment.