Completed
Pull Request — master (#136)
by
unknown
02:41
created
src/VCard.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
 
230 230
         $this->setProperty(
231 231
             'socialmedia',
232
-            'X-SOCIALPROFILE;type=' . (($type != '') ? $type : '' ),
232
+            'X-SOCIALPROFILE;type=' . (($type != '') ? $type : ''),
233 233
             $url
234 234
         );
235 235
 
@@ -775,7 +775,7 @@  discard block
 block discarded – undo
775 775
         $contentLength = mb_strlen($this->getOutput(), '8bit');
776 776
         $connection = 'close';
777 777
 
778
-        if ((bool)$asAssociative) {
778
+        if ((bool) $asAssociative) {
779 779
             return [
780 780
                 'Content-type' => $contentType,
781 781
                 'Content-Disposition' => $contentDisposition,
@@ -984,7 +984,7 @@  discard block
 block discarded – undo
984 984
 
985 985
         $matches = [];
986 986
         preg_match('/os (\d+)_(\d+)\s+/', $browser, $matches);
987
-        $version = isset($matches[1]) ? ((int)$matches[1]) : 999;
987
+        $version = isset($matches[1]) ? ((int) $matches[1]) : 999;
988 988
 
989 989
         return ($version < 8);
990 990
     }
Please login to merge, or discard this patch.