Completed
Push — master ( 6cd5b8...dc6c0b )
by Mahmoud
03:15
created
app/Port/Provider/MainServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,8 +97,8 @@
 block discarded – undo
97 97
      *
98 98
      * Extend the default Laravel validation rules.
99 99
      */
100
-    private function extendValidationRules(){
101
-        \Validator::extend('no_spaces', function($attr, $value){
100
+    private function extendValidationRules() {
101
+        \Validator::extend('no_spaces', function($attr, $value) {
102 102
             return preg_match('/^\S*$/u', $value);
103 103
         }, ['String should not contain space.']);
104 104
     }
Please login to merge, or discard this patch.