Completed
Push — master ( be7c88...29e18e )
by Joshua
01:59
created
src/LaravelFontAwesome.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     protected function getOptions($options)
38 38
     {
39
-        if(!is_array($options))
39
+        if (!is_array($options))
40 40
         {
41 41
             $options = [
42 42
                 'class' => (string)$options
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     protected function buildIconClasses($icon, $extraClasses)
57 57
     {
58
-        return 'fa ' . $this->getIcon($icon) . ( $extraClasses != "" ? ' ' . $extraClasses : '' );
58
+        return 'fa ' . $this->getIcon($icon) . ($extraClasses != "" ? ' ' . $extraClasses : '');
59 59
     }
60 60
 
61 61
     /**
@@ -68,19 +68,19 @@  discard block
 block discarded – undo
68 68
     protected function buildAttributes($options, $classes)
69 69
     {
70 70
         $attributes = [];
71
-        $attributes[] = 'class="' . $classes .'"';
71
+        $attributes[] = 'class="' . $classes . '"';
72 72
 
73 73
         unset($options['class']);
74 74
 
75
-        if(is_array($options))
75
+        if (is_array($options))
76 76
         {
77
-            foreach($options as $attribute => $value)
77
+            foreach ($options as $attribute => $value)
78 78
             {
79 79
                 $attributes[] = $this->createAttribute($attribute, $value);
80 80
             }
81 81
         }
82 82
 
83
-        return (count($attributes) > 0) ? implode(' ', $attributes) : '' ;
83
+        return (count($attributes) > 0) ? implode(' ', $attributes) : '';
84 84
     }
85 85
 
86 86
     /**
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     protected function buildIcon($attributes)
105 105
     {
106
-        return '<i ' . $attributes .'></i>';
106
+        return '<i ' . $attributes . '></i>';
107 107
     }
108 108
 
109 109
 }
Please login to merge, or discard this patch.