Passed
Push — develop ( 226eab...8c89fd )
by Andrew
10:33 queued 05:02
created
src/models/jsonld/MenuItem.php 2 patches
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -59,35 +59,35 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @var array
61 61
      */
62
-    static public $schemaPropertyNames = [];
62
+    static public $schemaPropertyNames = [ ];
63 63
 
64 64
     /**
65 65
      * The Schema.org composed Property Expected Types
66 66
      *
67 67
      * @var array
68 68
      */
69
-    static public $schemaPropertyExpectedTypes = [];
69
+    static public $schemaPropertyExpectedTypes = [ ];
70 70
 
71 71
     /**
72 72
      * The Schema.org composed Property Descriptions
73 73
      *
74 74
      * @var array
75 75
      */
76
-    static public $schemaPropertyDescriptions = [];
76
+    static public $schemaPropertyDescriptions = [ ];
77 77
 
78 78
     /**
79 79
      * The Schema.org composed Google Required Schema for this type
80 80
      *
81 81
      * @var array
82 82
      */
83
-    static public $googleRequiredSchema = [];
83
+    static public $googleRequiredSchema = [ ];
84 84
 
85 85
     /**
86 86
      * The Schema.org composed Google Recommended Schema for this type
87 87
      *
88 88
      * @var array
89 89
      */
90
-    static public $googleRecommendedSchema = [];
90
+    static public $googleRecommendedSchema = [ ];
91 91
 
92 92
     // Public Properties
93 93
     // =========================================================================
@@ -146,10 +146,10 @@  discard block
 block discarded – undo
146 146
      * @var array
147 147
      */
148 148
     static protected $_schemaPropertyExpectedTypes = [
149
-        'menuAddOn' => ['MenuItem','MenuSection'],
150
-        'nutrition' => ['NutritionInformation'],
151
-        'offers' => ['Offer'],
152
-        'suitableForDiet' => ['RestrictedDiet']
149
+        'menuAddOn' => [ 'MenuItem', 'MenuSection' ],
150
+        'nutrition' => [ 'NutritionInformation' ],
151
+        'offers' => [ 'Offer' ],
152
+        'suitableForDiet' => [ 'RestrictedDiet' ]
153 153
     ];
154 154
 
155 155
     /**
@@ -222,9 +222,9 @@  discard block
 block discarded – undo
222 222
     {
223 223
         $rules = parent::rules();
224 224
         $rules = array_merge($rules, [
225
-            [['menuAddOn','nutrition','offers','suitableForDiet'], 'validateJsonSchema'],
226
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
227
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
225
+            [ [ 'menuAddOn', 'nutrition', 'offers', 'suitableForDiet' ], 'validateJsonSchema' ],
226
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
227
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
228 228
         ]);
229 229
 
230 230
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/LodgingReservation.php 2 patches
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -62,35 +62,35 @@  discard block
 block discarded – undo
62 62
      *
63 63
      * @var array
64 64
      */
65
-    static public $schemaPropertyNames = [];
65
+    static public $schemaPropertyNames = [ ];
66 66
 
67 67
     /**
68 68
      * The Schema.org composed Property Expected Types
69 69
      *
70 70
      * @var array
71 71
      */
72
-    static public $schemaPropertyExpectedTypes = [];
72
+    static public $schemaPropertyExpectedTypes = [ ];
73 73
 
74 74
     /**
75 75
      * The Schema.org composed Property Descriptions
76 76
      *
77 77
      * @var array
78 78
      */
79
-    static public $schemaPropertyDescriptions = [];
79
+    static public $schemaPropertyDescriptions = [ ];
80 80
 
81 81
     /**
82 82
      * The Schema.org composed Google Required Schema for this type
83 83
      *
84 84
      * @var array
85 85
      */
86
-    static public $googleRequiredSchema = [];
86
+    static public $googleRequiredSchema = [ ];
87 87
 
88 88
     /**
89 89
      * The Schema.org composed Google Recommended Schema for this type
90 90
      *
91 91
      * @var array
92 92
      */
93
-    static public $googleRecommendedSchema = [];
93
+    static public $googleRecommendedSchema = [ ];
94 94
 
95 95
     // Public Properties
96 96
     // =========================================================================
@@ -161,12 +161,12 @@  discard block
 block discarded – undo
161 161
      * @var array
162 162
      */
163 163
     static protected $_schemaPropertyExpectedTypes = [
164
-        'checkinTime' => ['DateTime'],
165
-        'checkoutTime' => ['DateTime'],
166
-        'lodgingUnitDescription' => ['Text'],
167
-        'lodgingUnitType' => ['QualitativeValue','Text'],
168
-        'numAdults' => ['Integer','QuantitativeValue'],
169
-        'numChildren' => ['Integer','QuantitativeValue']
164
+        'checkinTime' => [ 'DateTime' ],
165
+        'checkoutTime' => [ 'DateTime' ],
166
+        'lodgingUnitDescription' => [ 'Text' ],
167
+        'lodgingUnitType' => [ 'QualitativeValue', 'Text' ],
168
+        'numAdults' => [ 'Integer', 'QuantitativeValue' ],
169
+        'numChildren' => [ 'Integer', 'QuantitativeValue' ]
170 170
     ];
171 171
 
172 172
     /**
@@ -241,9 +241,9 @@  discard block
 block discarded – undo
241 241
     {
242 242
         $rules = parent::rules();
243 243
         $rules = array_merge($rules, [
244
-            [['checkinTime','checkoutTime','lodgingUnitDescription','lodgingUnitType','numAdults','numChildren'], 'validateJsonSchema'],
245
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
246
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
244
+            [ [ 'checkinTime', 'checkoutTime', 'lodgingUnitDescription', 'lodgingUnitType', 'numAdults', 'numChildren' ], 'validateJsonSchema' ],
245
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
246
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
247 247
         ]);
248 248
 
249 249
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/Person.php 2 patches
Spacing   +59 added lines, -59 removed lines patch added patch discarded remove patch
@@ -59,35 +59,35 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @var array
61 61
      */
62
-    static public $schemaPropertyNames = [];
62
+    static public $schemaPropertyNames = [ ];
63 63
 
64 64
     /**
65 65
      * The Schema.org composed Property Expected Types
66 66
      *
67 67
      * @var array
68 68
      */
69
-    static public $schemaPropertyExpectedTypes = [];
69
+    static public $schemaPropertyExpectedTypes = [ ];
70 70
 
71 71
     /**
72 72
      * The Schema.org composed Property Descriptions
73 73
      *
74 74
      * @var array
75 75
      */
76
-    static public $schemaPropertyDescriptions = [];
76
+    static public $schemaPropertyDescriptions = [ ];
77 77
 
78 78
     /**
79 79
      * The Schema.org composed Google Required Schema for this type
80 80
      *
81 81
      * @var array
82 82
      */
83
-    static public $googleRequiredSchema = [];
83
+    static public $googleRequiredSchema = [ ];
84 84
 
85 85
     /**
86 86
      * The Schema.org composed Google Recommended Schema for this type
87 87
      *
88 88
      * @var array
89 89
      */
90
-    static public $googleRecommendedSchema = [];
90
+    static public $googleRecommendedSchema = [ ];
91 91
 
92 92
     // Public Properties
93 93
     // =========================================================================
@@ -546,57 +546,57 @@  discard block
 block discarded – undo
546 546
      * @var array
547 547
      */
548 548
     static protected $_schemaPropertyExpectedTypes = [
549
-        'additionalName' => ['Text'],
550
-        'address' => ['PostalAddress','Text'],
551
-        'affiliation' => ['Organization'],
552
-        'alumniOf' => ['EducationalOrganization','Organization'],
553
-        'award' => ['Text'],
554
-        'birthDate' => ['Date'],
555
-        'birthPlace' => ['Place'],
556
-        'brand' => ['Brand','Organization'],
557
-        'children' => ['Person'],
558
-        'colleague' => ['Person','URL'],
559
-        'contactPoint' => ['ContactPoint'],
560
-        'deathDate' => ['Date'],
561
-        'deathPlace' => ['Place'],
562
-        'duns' => ['Text'],
563
-        'email' => ['Text'],
564
-        'familyName' => ['Text'],
565
-        'faxNumber' => ['Text'],
566
-        'follows' => ['Person'],
567
-        'funder' => ['Organization','Person'],
568
-        'gender' => ['GenderType','Text'],
569
-        'givenName' => ['Text'],
570
-        'globalLocationNumber' => ['Text'],
571
-        'hasOfferCatalog' => ['OfferCatalog'],
572
-        'hasPOS' => ['Place'],
573
-        'height' => ['Distance','QuantitativeValue'],
574
-        'homeLocation' => ['ContactPoint','Place'],
575
-        'honorificPrefix' => ['Text'],
576
-        'honorificSuffix' => ['Text'],
577
-        'isicV4' => ['Text'],
578
-        'jobTitle' => ['Text'],
579
-        'knows' => ['Person'],
580
-        'makesOffer' => ['Offer'],
581
-        'memberOf' => ['Organization','ProgramMembership'],
582
-        'naics' => ['Text'],
583
-        'nationality' => ['Country'],
584
-        'netWorth' => ['MonetaryAmount','PriceSpecification'],
585
-        'owns' => ['OwnershipInfo','Product'],
586
-        'parent' => ['Person'],
587
-        'performerIn' => ['Event'],
588
-        'publishingPrinciples' => ['CreativeWork','URL'],
589
-        'relatedTo' => ['Person'],
590
-        'seeks' => ['Demand'],
591
-        'sibling' => ['Person'],
592
-        'sponsor' => ['Organization','Person'],
593
-        'spouse' => ['Person'],
594
-        'taxID' => ['Text'],
595
-        'telephone' => ['Text'],
596
-        'vatID' => ['Text'],
597
-        'weight' => ['QuantitativeValue'],
598
-        'workLocation' => ['ContactPoint','Place'],
599
-        'worksFor' => ['Organization']
549
+        'additionalName' => [ 'Text' ],
550
+        'address' => [ 'PostalAddress', 'Text' ],
551
+        'affiliation' => [ 'Organization' ],
552
+        'alumniOf' => [ 'EducationalOrganization', 'Organization' ],
553
+        'award' => [ 'Text' ],
554
+        'birthDate' => [ 'Date' ],
555
+        'birthPlace' => [ 'Place' ],
556
+        'brand' => [ 'Brand', 'Organization' ],
557
+        'children' => [ 'Person' ],
558
+        'colleague' => [ 'Person', 'URL' ],
559
+        'contactPoint' => [ 'ContactPoint' ],
560
+        'deathDate' => [ 'Date' ],
561
+        'deathPlace' => [ 'Place' ],
562
+        'duns' => [ 'Text' ],
563
+        'email' => [ 'Text' ],
564
+        'familyName' => [ 'Text' ],
565
+        'faxNumber' => [ 'Text' ],
566
+        'follows' => [ 'Person' ],
567
+        'funder' => [ 'Organization', 'Person' ],
568
+        'gender' => [ 'GenderType', 'Text' ],
569
+        'givenName' => [ 'Text' ],
570
+        'globalLocationNumber' => [ 'Text' ],
571
+        'hasOfferCatalog' => [ 'OfferCatalog' ],
572
+        'hasPOS' => [ 'Place' ],
573
+        'height' => [ 'Distance', 'QuantitativeValue' ],
574
+        'homeLocation' => [ 'ContactPoint', 'Place' ],
575
+        'honorificPrefix' => [ 'Text' ],
576
+        'honorificSuffix' => [ 'Text' ],
577
+        'isicV4' => [ 'Text' ],
578
+        'jobTitle' => [ 'Text' ],
579
+        'knows' => [ 'Person' ],
580
+        'makesOffer' => [ 'Offer' ],
581
+        'memberOf' => [ 'Organization', 'ProgramMembership' ],
582
+        'naics' => [ 'Text' ],
583
+        'nationality' => [ 'Country' ],
584
+        'netWorth' => [ 'MonetaryAmount', 'PriceSpecification' ],
585
+        'owns' => [ 'OwnershipInfo', 'Product' ],
586
+        'parent' => [ 'Person' ],
587
+        'performerIn' => [ 'Event' ],
588
+        'publishingPrinciples' => [ 'CreativeWork', 'URL' ],
589
+        'relatedTo' => [ 'Person' ],
590
+        'seeks' => [ 'Demand' ],
591
+        'sibling' => [ 'Person' ],
592
+        'sponsor' => [ 'Organization', 'Person' ],
593
+        'spouse' => [ 'Person' ],
594
+        'taxID' => [ 'Text' ],
595
+        'telephone' => [ 'Text' ],
596
+        'vatID' => [ 'Text' ],
597
+        'weight' => [ 'QuantitativeValue' ],
598
+        'workLocation' => [ 'ContactPoint', 'Place' ],
599
+        'worksFor' => [ 'Organization' ]
600 600
     ];
601 601
 
602 602
     /**
@@ -716,9 +716,9 @@  discard block
 block discarded – undo
716 716
     {
717 717
         $rules = parent::rules();
718 718
         $rules = array_merge($rules, [
719
-            [['additionalName','address','affiliation','alumniOf','award','birthDate','birthPlace','brand','children','colleague','contactPoint','deathDate','deathPlace','duns','email','familyName','faxNumber','follows','funder','gender','givenName','globalLocationNumber','hasOfferCatalog','hasPOS','height','homeLocation','honorificPrefix','honorificSuffix','isicV4','jobTitle','knows','makesOffer','memberOf','naics','nationality','netWorth','owns','parent','performerIn','publishingPrinciples','relatedTo','seeks','sibling','sponsor','spouse','taxID','telephone','vatID','weight','workLocation','worksFor'], 'validateJsonSchema'],
720
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
721
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
719
+            [ [ 'additionalName', 'address', 'affiliation', 'alumniOf', 'award', 'birthDate', 'birthPlace', 'brand', 'children', 'colleague', 'contactPoint', 'deathDate', 'deathPlace', 'duns', 'email', 'familyName', 'faxNumber', 'follows', 'funder', 'gender', 'givenName', 'globalLocationNumber', 'hasOfferCatalog', 'hasPOS', 'height', 'homeLocation', 'honorificPrefix', 'honorificSuffix', 'isicV4', 'jobTitle', 'knows', 'makesOffer', 'memberOf', 'naics', 'nationality', 'netWorth', 'owns', 'parent', 'performerIn', 'publishingPrinciples', 'relatedTo', 'seeks', 'sibling', 'sponsor', 'spouse', 'taxID', 'telephone', 'vatID', 'weight', 'workLocation', 'worksFor' ], 'validateJsonSchema' ],
720
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
721
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
722 722
         ]);
723 723
 
724 724
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/PaymentChargeSpecification.php 2 patches
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -60,35 +60,35 @@  discard block
 block discarded – undo
60 60
      *
61 61
      * @var array
62 62
      */
63
-    static public $schemaPropertyNames = [];
63
+    static public $schemaPropertyNames = [ ];
64 64
 
65 65
     /**
66 66
      * The Schema.org composed Property Expected Types
67 67
      *
68 68
      * @var array
69 69
      */
70
-    static public $schemaPropertyExpectedTypes = [];
70
+    static public $schemaPropertyExpectedTypes = [ ];
71 71
 
72 72
     /**
73 73
      * The Schema.org composed Property Descriptions
74 74
      *
75 75
      * @var array
76 76
      */
77
-    static public $schemaPropertyDescriptions = [];
77
+    static public $schemaPropertyDescriptions = [ ];
78 78
 
79 79
     /**
80 80
      * The Schema.org composed Google Required Schema for this type
81 81
      *
82 82
      * @var array
83 83
      */
84
-    static public $googleRequiredSchema = [];
84
+    static public $googleRequiredSchema = [ ];
85 85
 
86 86
     /**
87 87
      * The Schema.org composed Google Recommended Schema for this type
88 88
      *
89 89
      * @var array
90 90
      */
91
-    static public $googleRecommendedSchema = [];
91
+    static public $googleRecommendedSchema = [ ];
92 92
 
93 93
     // Public Properties
94 94
     // =========================================================================
@@ -127,8 +127,8 @@  discard block
 block discarded – undo
127 127
      * @var array
128 128
      */
129 129
     static protected $_schemaPropertyExpectedTypes = [
130
-        'appliesToDeliveryMethod' => ['DeliveryMethod'],
131
-        'appliesToPaymentMethod' => ['PaymentMethod']
130
+        'appliesToDeliveryMethod' => [ 'DeliveryMethod' ],
131
+        'appliesToPaymentMethod' => [ 'PaymentMethod' ]
132 132
     ];
133 133
 
134 134
     /**
@@ -199,9 +199,9 @@  discard block
 block discarded – undo
199 199
     {
200 200
         $rules = parent::rules();
201 201
         $rules = array_merge($rules, [
202
-            [['appliesToDeliveryMethod','appliesToPaymentMethod'], 'validateJsonSchema'],
203
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
204
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
202
+            [ [ 'appliesToDeliveryMethod', 'appliesToPaymentMethod' ], 'validateJsonSchema' ],
203
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
204
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
205 205
         ]);
206 206
 
207 207
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/CompoundPriceSpecification.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -63,35 +63,35 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @var array
65 65
      */
66
-    static public $schemaPropertyNames = [];
66
+    static public $schemaPropertyNames = [ ];
67 67
 
68 68
     /**
69 69
      * The Schema.org composed Property Expected Types
70 70
      *
71 71
      * @var array
72 72
      */
73
-    static public $schemaPropertyExpectedTypes = [];
73
+    static public $schemaPropertyExpectedTypes = [ ];
74 74
 
75 75
     /**
76 76
      * The Schema.org composed Property Descriptions
77 77
      *
78 78
      * @var array
79 79
      */
80
-    static public $schemaPropertyDescriptions = [];
80
+    static public $schemaPropertyDescriptions = [ ];
81 81
 
82 82
     /**
83 83
      * The Schema.org composed Google Required Schema for this type
84 84
      *
85 85
      * @var array
86 86
      */
87
-    static public $googleRequiredSchema = [];
87
+    static public $googleRequiredSchema = [ ];
88 88
 
89 89
     /**
90 90
      * The Schema.org composed Google Recommended Schema for this type
91 91
      *
92 92
      * @var array
93 93
      */
94
-    static public $googleRecommendedSchema = [];
94
+    static public $googleRecommendedSchema = [ ];
95 95
 
96 96
     // Public Properties
97 97
     // =========================================================================
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      * @var array
123 123
      */
124 124
     static protected $_schemaPropertyExpectedTypes = [
125
-        'priceComponent' => ['UnitPriceSpecification']
125
+        'priceComponent' => [ 'UnitPriceSpecification' ]
126 126
     ];
127 127
 
128 128
     /**
@@ -192,9 +192,9 @@  discard block
 block discarded – undo
192 192
     {
193 193
         $rules = parent::rules();
194 194
         $rules = array_merge($rules, [
195
-            [['priceComponent'], 'validateJsonSchema'],
196
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
197
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
195
+            [ [ 'priceComponent' ], 'validateJsonSchema' ],
196
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
197
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
198 198
         ]);
199 199
 
200 200
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/Hospital.php 2 patches
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -59,35 +59,35 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @var array
61 61
      */
62
-    static public $schemaPropertyNames = [];
62
+    static public $schemaPropertyNames = [ ];
63 63
 
64 64
     /**
65 65
      * The Schema.org composed Property Expected Types
66 66
      *
67 67
      * @var array
68 68
      */
69
-    static public $schemaPropertyExpectedTypes = [];
69
+    static public $schemaPropertyExpectedTypes = [ ];
70 70
 
71 71
     /**
72 72
      * The Schema.org composed Property Descriptions
73 73
      *
74 74
      * @var array
75 75
      */
76
-    static public $schemaPropertyDescriptions = [];
76
+    static public $schemaPropertyDescriptions = [ ];
77 77
 
78 78
     /**
79 79
      * The Schema.org composed Google Required Schema for this type
80 80
      *
81 81
      * @var array
82 82
      */
83
-    static public $googleRequiredSchema = [];
83
+    static public $googleRequiredSchema = [ ];
84 84
 
85 85
     /**
86 86
      * The Schema.org composed Google Recommended Schema for this type
87 87
      *
88 88
      * @var array
89 89
      */
90
-    static public $googleRecommendedSchema = [];
90
+    static public $googleRecommendedSchema = [ ];
91 91
 
92 92
     // Public Properties
93 93
     // =========================================================================
@@ -125,8 +125,8 @@  discard block
 block discarded – undo
125 125
      * @var array
126 126
      */
127 127
     static protected $_schemaPropertyExpectedTypes = [
128
-        'availableService' => ['MedicalProcedure','MedicalTest','MedicalTherapy'],
129
-        'medicalSpecialty' => ['MedicalSpecialty']
128
+        'availableService' => [ 'MedicalProcedure', 'MedicalTest', 'MedicalTherapy' ],
129
+        'medicalSpecialty' => [ 'MedicalSpecialty' ]
130 130
     ];
131 131
 
132 132
     /**
@@ -197,9 +197,9 @@  discard block
 block discarded – undo
197 197
     {
198 198
         $rules = parent::rules();
199 199
         $rules = array_merge($rules, [
200
-            [['availableService','medicalSpecialty'], 'validateJsonSchema'],
201
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
202
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
200
+            [ [ 'availableService', 'medicalSpecialty' ], 'validateJsonSchema' ],
201
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
202
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
203 203
         ]);
204 204
 
205 205
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/variables/SeomaticVariable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     /**
83 83
      * @inheritdoc
84 84
      */
85
-    public function __construct($config = [])
85
+    public function __construct($config = [ ])
86 86
     {
87 87
         /** @noinspection PhpDeprecationInspection */
88 88
         $components = [
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             'title' => Title::class,
95 95
         ];
96 96
 
97
-        $config['components'] = $components;
97
+        $config[ 'components' ] = $components;
98 98
 
99 99
         parent::__construct($config);
100 100
     }
Please login to merge, or discard this patch.
src/seomatic-config/entrymeta/LinkContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  */
21 21
 
22 22
 return [
23
-    MetaLinkContainer::CONTAINER_TYPE.LinkService::GENERAL_HANDLE => [
23
+    MetaLinkContainer::CONTAINER_TYPE . LinkService::GENERAL_HANDLE => [
24 24
         'name'         => 'General',
25 25
         'description'  => 'Link Tags',
26 26
         'handle'       => LinkService::GENERAL_HANDLE,
Please login to merge, or discard this patch.
src/seomatic-config/entrymeta/ScriptContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  */
21 21
 
22 22
 return [
23
-    MetaScriptContainer::CONTAINER_TYPE.ScriptService::GENERAL_HANDLE => [
23
+    MetaScriptContainer::CONTAINER_TYPE . ScriptService::GENERAL_HANDLE => [
24 24
         'name'         => 'General',
25 25
         'description'  => 'Script Tags',
26 26
         'handle'       => ScriptService::GENERAL_HANDLE,
Please login to merge, or discard this patch.