Completed
Pull Request — master (#97)
by Simone
04:06 queued 01:49
created
src/Sensorario/Resources/Validators/Validators/RightType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
                     if (is_numeric($resource->get($key)) && is_string($resource->get($key))) {
50 50
                         throw new \RuntimeException(
51
-                            'Property `'.$key.'` must be an integer!'
51
+                            'Property `' . $key . '` must be an integer!'
52 52
                         );
53 53
                     }
54 54
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                 if (key($rule) == 'custom-validator') {
77 77
                     if ('email' != current($rule)) {
78 78
                         throw new \RuntimeException(
79
-                            'Oops! `'.key($rule).'` custom validator is not available. Only email are.'
79
+                            'Oops! `' . key($rule) . '` custom validator is not available. Only email are.'
80 80
                         );
81 81
                     }
82 82
 
Please login to merge, or discard this patch.