Passed
Push — master ( 745243...19f840 )
by Alain
02:58
created
src/ConfigFactory.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      *
44 44
      * @param string|array $_ List of files.
45 45
      *
46
-     * @return ConfigInterface Instance of a ConfigInterface implementation.
46
+     * @return Config|null Instance of a ConfigInterface implementation.
47 47
      */
48 48
     public static function createFromFile($_)
49 49
     {
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      *
88 88
      * @param array $array Array with configuration values.
89 89
      *
90
-     * @return ConfigInterface Instance of a ConfigInterface implementation.
90
+     * @return Config|null Instance of a ConfigInterface implementation.
91 91
      */
92 92
     public static function createFromArray(array $array)
93 93
     {
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      *
110 110
      * @param mixed $_ Array with configuration values.
111 111
      *
112
-     * @return ConfigInterface Instance of a ConfigInterface implementation.
112
+     * @return Config|null Instance of a ConfigInterface implementation.
113 113
      */
114 114
     public static function create($_)
115 115
     {
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      * @since 0.4.4
133 133
      *
134 134
      * @param string $identifier Identifier to look for in the cache.
135
-     * @param mixed  $fallback   Fallback to use to fill the cache. If $fallback is a callable, it will be executed
135
+     * @param \Closure  $fallback   Fallback to use to fill the cache. If $fallback is a callable, it will be executed
136 136
      *                           with $identifier as an argument.
137 137
      *
138 138
      * @return mixed The latest content of the cache for the given identifier.
Please login to merge, or discard this patch.