Passed
Push — master ( b69528...d2ddcd )
by Reza
03:53
created
src/Parsers/HTMLInputs/BaseInput.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,12 +28,12 @@  discard block
 block discarded – undo
28 28
         $this->action = $action;
29 29
     }
30 30
 
31
-    public function render(){
31
+    public function render() {
32 32
         $name = $this->name;
33 33
 
34 34
         // Create an instance of input class
35 35
         // then call handle() method to get input as a steing
36
-        if(!is_array($this->type)) {
36
+        if (!is_array($this->type)) {
37 37
             $inputStringClass = static::classMap[$this->type];
38 38
             $input = (new $inputStringClass())->handle($name);
39 39
         } else {
@@ -44,14 +44,14 @@  discard block
 block discarded – undo
44 44
         }
45 45
 
46 46
         // render all input element
47
-        if($this->type != 'checkbox') {
47
+        if ($this->type != 'checkbox') {
48 48
             $title = ucfirst($name);
49 49
             $str = "
50 50
             <!-- $title Input -->
51 51
             <div class='form-group'>
52 52
                 <label for='input$name' class='col-sm-2 control-label'> {{ __('$title') }}</label>
53 53
                 $input
54
-                @error('$name') <div class='invalid-feedback'>{{ " . '$message' . " }}</div> @enderror
54
+                @error('$name') <div class='invalid-feedback'>{{ ".'$message'." }}</div> @enderror
55 55
             </div>
56 56
             ";
57 57
             return $str;
Please login to merge, or discard this patch.
src/Parsers/HTMLInputs/Checkbox.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
                     <input $mode='$name' class='form-check-input' type='checkbox' id='input$name'>
17 17
                     <label class='form-check-label' for='input$name'>{{ __('$UName') }}</label>
18 18
                 </div>
19
-                @error('$name') <div class='invalid-feedback'>{{ " . '$message' . " }}</div> @enderror
19
+                @error('$name') <div class='invalid-feedback'>{{ ".'$message'." }}</div> @enderror
20 20
             </div>
21 21
             ";
22 22
     }
Please login to merge, or discard this patch.