@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Created by PhpStorm. |
|
4 | - * User: johnkariuki |
|
5 | - * Date: 21/01/2016 |
|
6 | - * Time: 22:26. |
|
7 | - */ |
|
3 | + * Created by PhpStorm. |
|
4 | + * User: johnkariuki |
|
5 | + * Date: 21/01/2016 |
|
6 | + * Time: 22:26. |
|
7 | + */ |
|
8 | 8 | namespace John\Cp; |
9 | 9 | |
10 | 10 | use John\Exceptions\UrbanWordException; |
@@ -14,6 +14,7 @@ |
||
14 | 14 | /** |
15 | 15 | * Capture thrown [errorMessage] |
16 | 16 | * |
17 | + * @param string $message |
|
17 | 18 | * @return [string] [Return caught error] |
18 | 19 | */ |
19 | 20 | public function __construct($message) |
@@ -28,6 +28,6 @@ |
||
28 | 28 | */ |
29 | 29 | public function errorMessage() |
30 | 30 | { |
31 | - return $this->message; |
|
31 | + return $this->message; |
|
32 | 32 | } |
33 | 33 | } |
@@ -14,6 +14,7 @@ |
||
14 | 14 | /** |
15 | 15 | * Capture thrown [errorMessage] |
16 | 16 | * |
17 | + * @param string $message |
|
17 | 18 | * @return [string] [Return caught error] |
18 | 19 | */ |
19 | 20 | public function __construct($message) |
@@ -28,6 +28,6 @@ |
||
28 | 28 | */ |
29 | 29 | public function errorMessage() |
30 | 30 | { |
31 | - return $this->message; |
|
31 | + return $this->message; |
|
32 | 32 | } |
33 | 33 | } |