Completed
Pull Request — master (#47)
by Michael
10:55
created
src/Decoders/JsonDecoder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
     /**
38 38
      * Returns MimeType
39
-     * @return string
39
+     * @return string[]
40 40
      */
41 41
     public function getMimeType()
42 42
     {
Please login to merge, or discard this patch.
src/Decoders/YamlDecoder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      * For instance, if you want to decode Yaml files with the extensions ".yml" and ".yaml",
32 32
      * then you want to set the return array to ['yaml', 'yml'].
33 33
      *
34
-     * @return array
34
+     * @return string[]
35 35
      */
36 36
     public function getMimeType()
37 37
     {
Please login to merge, or discard this patch.
src/Traits/ManagesItemsTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -435,7 +435,7 @@
 block discarded – undo
435 435
 
436 436
     /**
437 437
      * Cycle through the nests to see if an item is protected
438
-     * @param $item
438
+     * @param string $item
439 439
      */
440 440
     protected function checkIfProtected($item)
441 441
     {
Please login to merge, or discard this patch.
src/Decoders/CustomXmlDecoder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      * For instance, if you want to decode Yaml files with the extensions ".yml" and ".yaml",
32 32
      * then you want to set the return array to ['yaml', 'yml'].
33 33
      *
34
-     * @return array
34
+     * @return string[]
35 35
      */
36 36
     public function getMimeType()
37 37
     {
Please login to merge, or discard this patch.
src/Traits/CollectionTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
      *
143 143
      * @param string $method name
144 144
      * @param array $arguments to be passed along
145
-     * @param object $instance of the Collection
145
+     * @param CollectionTrait $instance of the Collection
146 146
      * @param string $flag corresponding to the properties above
147 147
      * @param string $subject Alias of data in Manager
148 148
      * @return mixed
Please login to merge, or discard this patch.
src/Traits/ManagesIocTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     /**
104 104
      * Turns a dependency into a singleton.
105 105
      * @param $alias
106
-     * @return mixed
106
+     * @return ManagesIocTrait
107 107
      */
108 108
     public function share($alias)
109 109
     {
Please login to merge, or discard this patch.
src/FileLoader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      * Process file bag to load into the data manager.
102 102
      * A file bag is an array of SplFileInfo objects.
103 103
      *
104
-     * @param array|FileBag $fileBag
104
+     * @param FileBag $fileBag
105 105
      * @return array
106 106
      * @throws Exception
107 107
      */
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      * Default decoder class factory method.
173 173
      * Checks to make sure we have a default decoder available and if so, adds it as a decoder to the file loader.
174 174
      *
175
-     * @param $mimeType
175
+     * @param string $mimeType
176 176
      */
177 177
     protected function checkAndAddDefaultDecoder($mimeType)
178 178
     {
Please login to merge, or discard this patch.
src/Contracts/IocManagerInterface.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     /**
12 12
      * Initializes IoC Container
13 13
      * @param array $components
14
-     * @return mixed
14
+     * @return \Michaels\Manager\Traits\ManagesIocTrait
15 15
      */
16 16
     public function initDi(array $components = []);
17 17
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * Turns a dependency into a singleton.
34 34
      * @param $alias
35
-     * @return mixed
35
+     * @return \Michaels\Manager\Traits\ManagesIocTrait
36 36
      */
37 37
     public function share($alias);
38 38
 
@@ -40,6 +40,7 @@  discard block
 block discarded – undo
40 40
      * Add a pipeline to to the que for a specific item
41 41
      * @param $alias
42 42
      * @param $pipeline
43
+     * @return \Michaels\Manager\Traits\ManagesIocTrait
43 44
      */
44 45
     public function setup($alias, $pipeline);
45 46
 
Please login to merge, or discard this patch.