Browse Source

Merge pull request #10269 from saeideng/patch-1

update configShallow
Mark Story 9 years ago
parent
commit
39ec5b7f71
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/Core/InstanceConfigTrait.php

+ 3 - 3
src/Core/InstanceConfigTrait.php

@@ -180,19 +180,19 @@ trait InstanceConfigTrait
      * 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.