Completed
Push — master ( 9af208...2c5d9a )
by Ariel
17:01
created
src/Presenters/BusinessPresenter.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     {
24 24
         $url = parse_url($this->wrappedObject->social_facebook);
25 25
 
26
-        if(!$this->wrappedObject->social_facebook || !array_key_exists('path', $url)){
26
+        if (!$this->wrappedObject->social_facebook || !array_key_exists('path', $url)) {
27 27
             return "<img class=\"img-thumbnail\" src=\"//placehold.it/100x100\" alt=\"{$this->wrappedObject->name}\"/>";
28 28
         }
29 29
 
@@ -69,8 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function industryIcon()
71 71
     {
72
-        $src = ($this->wrappedObject->pref('cover_photo_url')) ?:
73
-            asset('/img/industries/'.$this->wrappedObject->category->slug.'.png');
72
+        $src = ($this->wrappedObject->pref('cover_photo_url')) ?: asset('/img/industries/'.$this->wrappedObject->category->slug.'.png');
74 73
 
75 74
         return "<img class=\"img-responsive center-block\" src=\"{$src}\"/>";
76 75
     }
Please login to merge, or discard this patch.