Completed
Push — master ( 899e21...c16ad5 )
by Stéphane
02:07
created
src/Configuration/Containers/InheritingConfigurationContainer.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@  discard block
 block discarded – undo
11 11
      */
12 12
     protected $parent;
13 13
 
14
+    /**
15
+     * @param string $name
16
+     */
14 17
     public function __construct($name, array $data, ConfigurationManager $manager, self $parent = null)
15 18
     {
16 19
         parent::__construct($name, $data, $manager);
@@ -44,7 +47,7 @@  discard block
 block discarded – undo
44 47
      * Get the value or return the default
45 48
      * Will check the parent before the default is returned
46 49
      *
47
-     * @param $key
50
+     * @param string $key
48 51
      * @param $default
49 52
      * @return mixed
50 53
      */
Please login to merge, or discard this patch.
src/Configuration/Environment.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@
 block discarded – undo
57 57
         return new Directories('overriden', $this->data['overrides']['directories'], $this->manager, $directories);
58 58
     }
59 59
 
60
+    /**
61
+     * @param string $event
62
+     */
60 63
     public function getTasks($event)
61 64
     {
62 65
         $tasks = $this->getValueOrDefault('tasks', []);
Please login to merge, or discard this patch.
src/Configuration/Source.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      * @param ConfigurationManager $manager
17 17
      * @param Source $parent
18 18
      * @throws \LogicException
19
-     * @return Cloned|Upload
19
+     * @return Containers\ConfigurationContainer
20 20
      */
21 21
     public static function make($name, array $data, ConfigurationManager $manager, Source $parent = null)
22 22
     {
@@ -35,6 +35,9 @@  discard block
 block discarded – undo
35 35
         throw new \LogicException("Unrecognized strategy '{$strategy}'");
36 36
     }
37 37
 
38
+    /**
39
+     * @param string $name
40
+     */
38 41
     protected static function findStrategy($name, $data, ConfigurationManager $manager, Source $parent = null)
39 42
     {
40 43
         if (isset($data['strategy'])) {
@@ -67,7 +70,7 @@  discard block
 block discarded – undo
67 70
 
68 71
     /**
69 72
      * @throws \LogicException
70
-     * @return mixed
73
+     * @return string
71 74
      */
72 75
     public function getPath()
73 76
     {
Please login to merge, or discard this patch.