@@ -237,7 +237,7 @@ |
||
| 237 | 237 | * |
| 238 | 238 | * @param string $directive the directive to be tested |
| 239 | 239 | * |
| 240 | - * @return bool TRUE if the $directive is known word |
|
| 240 | + * @return integer TRUE if the $directive is known word |
|
| 241 | 241 | */ |
| 242 | 242 | private function validateDirective($directive) |
| 243 | 243 | { |
@@ -28,20 +28,20 @@ |
||
| 28 | 28 | parent::__construct('laravel', $version); |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | - /** |
|
| 32 | - * Sets the web sub-directory and the writeable directories of the Laravel project. |
|
| 33 | - * |
|
| 34 | - * {@inheritdoc} |
|
| 35 | - * |
|
| 36 | - * @return WebProjectInterface the instance of the web project |
|
| 37 | - */ |
|
| 38 | - public function setDirProperties() |
|
| 39 | - { |
|
| 40 | - $this->setWebDir('/public'); |
|
| 41 | - $this->setWriteables(array('/storage/logs')); |
|
| 42 | - |
|
| 43 | - return $this; |
|
| 44 | - } |
|
| 31 | + /** |
|
| 32 | + * Sets the web sub-directory and the writeable directories of the Laravel project. |
|
| 33 | + * |
|
| 34 | + * {@inheritdoc} |
|
| 35 | + * |
|
| 36 | + * @return WebProjectInterface the instance of the web project |
|
| 37 | + */ |
|
| 38 | + public function setDirProperties() |
|
| 39 | + { |
|
| 40 | + $this->setWebDir('/public'); |
|
| 41 | + $this->setWriteables(array('/storage/logs')); |
|
| 42 | + |
|
| 43 | + return $this; |
|
| 44 | + } |
|
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | 47 | * Check if $package matches the specificities of a Laravel web project. |
@@ -20,14 +20,14 @@ |
||
| 20 | 20 | */ |
| 21 | 21 | interface WebProjectInterface |
| 22 | 22 | { |
| 23 | - /** |
|
| 24 | - * Sets host, location and port. |
|
| 25 | - * |
|
| 26 | - * @param Array $needs host, location and port to configure |
|
| 27 | - * |
|
| 28 | - * @return WebProject this WebProject Instance |
|
| 29 | - */ |
|
| 30 | - public function setNeeds($needs); |
|
| 23 | + /** |
|
| 24 | + * Sets host, location and port. |
|
| 25 | + * |
|
| 26 | + * @param Array $needs host, location and port to configure |
|
| 27 | + * |
|
| 28 | + * @return WebProject this WebProject Instance |
|
| 29 | + */ |
|
| 30 | + public function setNeeds($needs); |
|
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * Says if a Package is kind of a WebProject. |