@@ -34,6 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * {@inheritdoc} |
| 37 | + * @param string $filePath |
|
| 37 | 38 | */ |
| 38 | 39 | public function __construct($filePath) |
| 39 | 40 | { |
@@ -11,6 +11,7 @@ |
||
| 11 | 11 | { |
| 12 | 12 | /** |
| 13 | 13 | * @param string $filePath |
| 14 | + * @return void |
|
| 14 | 15 | */ |
| 15 | 16 | public function __construct($filePath); |
| 16 | 17 | |
@@ -69,7 +69,9 @@ |
||
| 69 | 69 | */ |
| 70 | 70 | foreach ($this->trackedItemsFlattened as &$item) |
| 71 | 71 | { |
| 72 | - if (!Service::getParameter(BuildableCommand::USE_DRAFTS) && $item['draft']) { continue; } |
|
| 72 | + if (!Service::getParameter(BuildableCommand::USE_DRAFTS) && $item['draft']) |
|
| 73 | + { |
|
| 74 | +continue; } |
|
| 73 | 75 | |
| 74 | 76 | $jailItems[$item->getNamespace()][$item->getName()] = $item->createJail(); |
| 75 | 77 | } |
@@ -15,6 +15,9 @@ |
||
| 15 | 15 | protected $filePath; |
| 16 | 16 | protected $fs; |
| 17 | 17 | |
| 18 | + /** |
|
| 19 | + * @param string $filePath |
|
| 20 | + */ |
|
| 18 | 21 | public function __construct($filePath) |
| 19 | 22 | { |
| 20 | 23 | $this->fs = new Filesystem(); |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | public function __construct($filePath) |
| 19 | 19 | { |
| 20 | 20 | $this->fs = new Filesystem(); |
| 21 | - $p = $this->filePath = $this->fs->absolutePath((string)$filePath); |
|
| 21 | + $p = $this->filePath = $this->fs->absolutePath((string) $filePath); |
|
| 22 | 22 | |
| 23 | 23 | if (!$this->fs->exists($p)) |
| 24 | 24 | { |