@@ -277,6 +277,9 @@ |
||
| 277 | 277 | return $result; |
| 278 | 278 | } |
| 279 | 279 | |
| 280 | + /** |
|
| 281 | + * @param string $message |
|
| 282 | + */ |
|
| 280 | 283 | protected function setValidationMessage($message) |
| 281 | 284 | { |
| 282 | 285 | $this->validationMessage = $message; |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | try { |
| 6 | 6 | $classInfo = new ReflectionClass('Illuminate\Contracts\Translation\Translator'); |
| 7 | 7 | } |
| 8 | -catch(ReflectionException $e) { |
|
| 8 | +catch (ReflectionException $e) { |
|
| 9 | 9 | $code = <<<CODE |
| 10 | 10 | namespace Illuminate\Contracts\Translation; |
| 11 | 11 | |
@@ -12,6 +12,6 @@ |
||
| 12 | 12 | interface Translator extends \Symfony\Component\Translation\TranslatorInterface |
| 13 | 13 | { |
| 14 | 14 | } |
| 15 | -CODE; |
|
| 15 | +code; |
|
| 16 | 16 | eval($code); |
| 17 | 17 | } |