@@ -11,6 +11,9 @@ discard block |
||
| 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 |
||
| 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 | */ |
@@ -57,6 +57,9 @@ |
||
| 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', []); |
@@ -16,7 +16,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 67 | 70 | |
| 68 | 71 | /** |
| 69 | 72 | * @throws \LogicException |
| 70 | - * @return mixed |
|
| 73 | + * @return string |
|
| 71 | 74 | */ |
| 72 | 75 | public function getPath() |
| 73 | 76 | { |