Completed
Push — master ( 434055...e0dece )
by Basil
04:51
created
core/web/jsonld/PlaceTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     /**
52 52
      * Physical address of the item.
53 53
      *
54
-     * @param PostalAddress|string $address
54
+     * @param PostalAddress $address
55 55
      * @return PlaceTrait
56 56
      */
57 57
     public function setAddress(PostalAddress $address)
Please login to merge, or discard this patch.
core/web/jsonld/DurationValue.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
     protected function timeToIso8601Duration($time)
45 45
     {
46 46
         $units = array(
47
-            "Y" => 365*24*3600,
48
-            "D" =>     24*3600,
47
+            "Y" => 365 * 24 * 3600,
48
+            "D" =>     24 * 3600,
49 49
             "H" =>        3600,
50 50
             "M" =>          60,
51 51
             "S" =>           1,
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
                     $str .= "T";
64 64
                     $istime = true;
65 65
                 }
66
-                $str .= strval($unit) . $unitName;
66
+                $str .= strval($unit).$unitName;
67 67
             }
68 68
         }
69 69
         
Please login to merge, or discard this patch.
core/web/jsonld/CommentTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 namespace luya\web\jsonld;
4 4
 
5 5
 /**
6
-  * JsonLd Comment Trait.
6
+ * JsonLd Comment Trait.
7 7
  *
8 8
  * @see http://schema.org/Comment
9 9
  * @author Basil Suter <[email protected]>
Please login to merge, or discard this patch.