@@ -107,7 +107,7 @@ |
||
| 107 | 107 | |
| 108 | 108 | /** |
| 109 | 109 | * Validates that the subject is an unempty string |
| 110 | - * @param mixed $subject The value to check |
|
| 110 | + * @param string $subject The value to check |
|
| 111 | 111 | * @return void |
| 112 | 112 | */ |
| 113 | 113 | private function checkSubject($subject) { |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | * @param callable|string $cb The value that you want to wrap in a closure |
| 32 | 32 | * @return callable |
| 33 | 33 | */ |
| 34 | - private function wrapValueInClosure($cb){ |
|
| 34 | + private function wrapValueInClosure($cb) { |
|
| 35 | 35 | if (is_callable($cb)) { |
| 36 | 36 | return $cb; |
| 37 | 37 | } else { |