Passed
Pull Request — v3 (#436)
by Ben
07:13
created
src/models/jsonld/Recipe.php 2 patches
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.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -191,8 +191,8 @@  discard block
 block discarded – undo
191 191
         'recipeCategory' => ['Text'],
192 192
         'recipeCuisine' => ['Text'],
193 193
         'recipeIngredient' => ['Text'],
194
-        'recipeInstructions' => ['CreativeWork','ItemList','Text'],
195
-        'recipeYield' => ['QuantitativeValue','Text'],
194
+        'recipeInstructions' => ['CreativeWork', 'ItemList', 'Text'],
195
+        'recipeYield' => ['QuantitativeValue', 'Text'],
196 196
         'suitableForDiet' => ['RestrictedDiet']
197 197
     ];
198 198
 
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
     {
272 272
         $rules = parent::rules();
273 273
         $rules = array_merge($rules, [
274
-            [['cookTime','cookingMethod','nutrition','recipeCategory','recipeCuisine','recipeIngredient','recipeInstructions','recipeYield','suitableForDiet'], 'validateJsonSchema'],
274
+            [['cookTime', 'cookingMethod', 'nutrition', 'recipeCategory', 'recipeCuisine', 'recipeIngredient', 'recipeInstructions', 'recipeYield', 'suitableForDiet'], 'validateJsonSchema'],
275 275
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
276 276
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
277 277
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Clip.php 2 patches
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.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -189,10 +189,10 @@  discard block
 block discarded – undo
189 189
      */
190 190
     static protected $_schemaPropertyExpectedTypes = [
191 191
         'actor' => ['Person'],
192
-        'clipNumber' => ['Integer','Text'],
192
+        'clipNumber' => ['Integer', 'Text'],
193 193
         'director' => ['Person'],
194 194
         'endOffset' => ['Number'],
195
-        'musicBy' => ['MusicGroup','Person'],
195
+        'musicBy' => ['MusicGroup', 'Person'],
196 196
         'partOfEpisode' => ['Episode'],
197 197
         'partOfSeason' => ['CreativeWorkSeason'],
198 198
         'partOfSeries' => ['CreativeWorkSeries'],
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
     {
275 275
         $rules = parent::rules();
276 276
         $rules = array_merge($rules, [
277
-            [['actor','clipNumber','director','endOffset','musicBy','partOfEpisode','partOfSeason','partOfSeries','startOffset'], 'validateJsonSchema'],
277
+            [['actor', 'clipNumber', 'director', 'endOffset', 'musicBy', 'partOfEpisode', 'partOfSeason', 'partOfSeries', 'startOffset'], 'validateJsonSchema'],
278 278
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
279 279
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
280 280
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/RVPark.php 1 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/DanceGroup.php 2 patches
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.
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -582,56 +582,56 @@  discard block
 block discarded – undo
582 582
      * @var array
583 583
      */
584 584
     static protected $_schemaPropertyExpectedTypes = [
585
-        'actionableFeedbackPolicy' => ['CreativeWork','URL'],
586
-        'address' => ['PostalAddress','Text'],
585
+        'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
586
+        'address' => ['PostalAddress', 'Text'],
587 587
         'aggregateRating' => ['AggregateRating'],
588 588
         'alumni' => ['Person'],
589
-        'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'],
589
+        'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'],
590 590
         'award' => ['Text'],
591
-        'brand' => ['Brand','Organization'],
591
+        'brand' => ['Brand', 'Organization'],
592 592
         'contactPoint' => ['ContactPoint'],
593
-        'correctionsPolicy' => ['CreativeWork','URL'],
593
+        'correctionsPolicy' => ['CreativeWork', 'URL'],
594 594
         'department' => ['Organization'],
595 595
         'dissolutionDate' => ['Date'],
596
-        'diversityPolicy' => ['CreativeWork','URL'],
597
-        'diversityStaffingReport' => ['Article','URL'],
596
+        'diversityPolicy' => ['CreativeWork', 'URL'],
597
+        'diversityStaffingReport' => ['Article', 'URL'],
598 598
         'duns' => ['Text'],
599 599
         'email' => ['Text'],
600 600
         'employee' => ['Person'],
601
-        'ethicsPolicy' => ['CreativeWork','URL'],
601
+        'ethicsPolicy' => ['CreativeWork', 'URL'],
602 602
         'event' => ['Event'],
603 603
         'faxNumber' => ['Text'],
604 604
         'founder' => ['Person'],
605 605
         'foundingDate' => ['Date'],
606 606
         'foundingLocation' => ['Place'],
607
-        'funder' => ['Organization','Person'],
607
+        'funder' => ['Organization', 'Person'],
608 608
         'globalLocationNumber' => ['Text'],
609 609
         'hasOfferCatalog' => ['OfferCatalog'],
610 610
         'hasPOS' => ['Place'],
611 611
         'isicV4' => ['Text'],
612
-        'knowsAbout' => ['Text','Thing','URL'],
613
-        'knowsLanguage' => ['Language','Text'],
612
+        'knowsAbout' => ['Text', 'Thing', 'URL'],
613
+        'knowsLanguage' => ['Language', 'Text'],
614 614
         'legalName' => ['Text'],
615 615
         'leiCode' => ['Text'],
616
-        'location' => ['Place','PostalAddress','Text'],
617
-        'logo' => ['ImageObject','URL'],
616
+        'location' => ['Place', 'PostalAddress', 'Text'],
617
+        'logo' => ['ImageObject', 'URL'],
618 618
         'makesOffer' => ['Offer'],
619
-        'member' => ['Organization','Person'],
620
-        'memberOf' => ['Organization','ProgramMembership'],
619
+        'member' => ['Organization', 'Person'],
620
+        'memberOf' => ['Organization', 'ProgramMembership'],
621 621
         'naics' => ['Text'],
622 622
         'numberOfEmployees' => ['QuantitativeValue'],
623
-        'ownershipFundingInfo' => ['AboutPage','CreativeWork','Text','URL'],
624
-        'owns' => ['OwnershipInfo','Product'],
623
+        'ownershipFundingInfo' => ['AboutPage', 'CreativeWork', 'Text', 'URL'],
624
+        'owns' => ['OwnershipInfo', 'Product'],
625 625
         'parentOrganization' => ['Organization'],
626
-        'publishingPrinciples' => ['CreativeWork','URL'],
626
+        'publishingPrinciples' => ['CreativeWork', 'URL'],
627 627
         'review' => ['Review'],
628 628
         'seeks' => ['Demand'],
629 629
         'slogan' => ['Text'],
630
-        'sponsor' => ['Organization','Person'],
630
+        'sponsor' => ['Organization', 'Person'],
631 631
         'subOrganization' => ['Organization'],
632 632
         'taxID' => ['Text'],
633 633
         'telephone' => ['Text'],
634
-        'unnamedSourcesPolicy' => ['CreativeWork','URL'],
634
+        'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
635 635
         'vatID' => ['Text']
636 636
     ];
637 637
 
@@ -752,7 +752,7 @@  discard block
 block discarded – undo
752 752
     {
753 753
         $rules = parent::rules();
754 754
         $rules = array_merge($rules, [
755
-            [['actionableFeedbackPolicy','address','aggregateRating','alumni','areaServed','award','brand','contactPoint','correctionsPolicy','department','dissolutionDate','diversityPolicy','diversityStaffingReport','duns','email','employee','ethicsPolicy','event','faxNumber','founder','foundingDate','foundingLocation','funder','globalLocationNumber','hasOfferCatalog','hasPOS','isicV4','knowsAbout','knowsLanguage','legalName','leiCode','location','logo','makesOffer','member','memberOf','naics','numberOfEmployees','ownershipFundingInfo','owns','parentOrganization','publishingPrinciples','review','seeks','slogan','sponsor','subOrganization','taxID','telephone','unnamedSourcesPolicy','vatID'], 'validateJsonSchema'],
755
+            [['actionableFeedbackPolicy', 'address', 'aggregateRating', 'alumni', 'areaServed', 'award', 'brand', 'contactPoint', 'correctionsPolicy', 'department', 'dissolutionDate', 'diversityPolicy', 'diversityStaffingReport', 'duns', 'email', 'employee', 'ethicsPolicy', 'event', 'faxNumber', 'founder', 'foundingDate', 'foundingLocation', 'funder', 'globalLocationNumber', 'hasOfferCatalog', 'hasPOS', 'isicV4', 'knowsAbout', 'knowsLanguage', 'legalName', 'leiCode', 'location', 'logo', 'makesOffer', 'member', 'memberOf', 'naics', 'numberOfEmployees', 'ownershipFundingInfo', 'owns', 'parentOrganization', 'publishingPrinciples', 'review', 'seeks', 'slogan', 'sponsor', 'subOrganization', 'taxID', 'telephone', 'unnamedSourcesPolicy', 'vatID'], 'validateJsonSchema'],
756 756
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
757 757
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
758 758
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/RentalCarReservation.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
     {
220 220
         $rules = parent::rules();
221 221
         $rules = array_merge($rules, [
222
-            [['dropoffLocation','dropoffTime','pickupLocation','pickupTime'], 'validateJsonSchema'],
222
+            [['dropoffLocation', 'dropoffTime', 'pickupLocation', 'pickupTime'], 'validateJsonSchema'],
223 223
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
224 224
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
225 225
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ContactPage.php 2 patches
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.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -203,14 +203,14 @@  discard block
 block discarded – undo
203 203
      * @var array
204 204
      */
205 205
     static protected $_schemaPropertyExpectedTypes = [
206
-        'breadcrumb' => ['BreadcrumbList','Text'],
206
+        'breadcrumb' => ['BreadcrumbList', 'Text'],
207 207
         'lastReviewed' => ['Date'],
208 208
         'mainContentOfPage' => ['WebPageElement'],
209 209
         'primaryImageOfPage' => ['ImageObject'],
210 210
         'relatedLink' => ['URL'],
211
-        'reviewedBy' => ['Organization','Person'],
211
+        'reviewedBy' => ['Organization', 'Person'],
212 212
         'significantLink' => ['URL'],
213
-        'speakable' => ['SpeakableSpecification','URL'],
213
+        'speakable' => ['SpeakableSpecification', 'URL'],
214 214
         'specialty' => ['Specialty']
215 215
     ];
216 216
 
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
     {
290 290
         $rules = parent::rules();
291 291
         $rules = array_merge($rules, [
292
-            [['breadcrumb','lastReviewed','mainContentOfPage','primaryImageOfPage','relatedLink','reviewedBy','significantLink','speakable','specialty'], 'validateJsonSchema'],
292
+            [['breadcrumb', 'lastReviewed', 'mainContentOfPage', 'primaryImageOfPage', 'relatedLink', 'reviewedBy', 'significantLink', 'speakable', 'specialty'], 'validateJsonSchema'],
293 293
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
294 294
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
295 295
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Mountain.php 2 patches
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.
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
      */
437 437
     static protected $_schemaPropertyExpectedTypes = [
438 438
         'additionalProperty' => ['PropertyValue'],
439
-        'address' => ['PostalAddress','Text'],
439
+        'address' => ['PostalAddress', 'Text'],
440 440
         'aggregateRating' => ['AggregateRating'],
441 441
         'amenityFeature' => ['LocationFeatureSpecification'],
442 442
         'branchCode' => ['Text'],
@@ -444,25 +444,25 @@  discard block
 block discarded – undo
444 444
         'containsPlace' => ['Place'],
445 445
         'event' => ['Event'],
446 446
         'faxNumber' => ['Text'],
447
-        'geo' => ['GeoCoordinates','GeoShape'],
448
-        'geoContains' => ['GeospatialGeometry','Place'],
449
-        'geoCoveredBy' => ['GeospatialGeometry','Place'],
450
-        'geoCovers' => ['GeospatialGeometry','Place'],
451
-        'geoCrosses' => ['GeospatialGeometry','Place'],
452
-        'geoDisjoint' => ['GeospatialGeometry','Place'],
453
-        'geoEquals' => ['GeospatialGeometry','Place'],
454
-        'geoIntersects' => ['GeospatialGeometry','Place'],
455
-        'geoOverlaps' => ['GeospatialGeometry','Place'],
456
-        'geoTouches' => ['GeospatialGeometry','Place'],
457
-        'geoWithin' => ['GeospatialGeometry','Place'],
447
+        'geo' => ['GeoCoordinates', 'GeoShape'],
448
+        'geoContains' => ['GeospatialGeometry', 'Place'],
449
+        'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
450
+        'geoCovers' => ['GeospatialGeometry', 'Place'],
451
+        'geoCrosses' => ['GeospatialGeometry', 'Place'],
452
+        'geoDisjoint' => ['GeospatialGeometry', 'Place'],
453
+        'geoEquals' => ['GeospatialGeometry', 'Place'],
454
+        'geoIntersects' => ['GeospatialGeometry', 'Place'],
455
+        'geoOverlaps' => ['GeospatialGeometry', 'Place'],
456
+        'geoTouches' => ['GeospatialGeometry', 'Place'],
457
+        'geoWithin' => ['GeospatialGeometry', 'Place'],
458 458
         'globalLocationNumber' => ['Text'],
459
-        'hasMap' => ['Map','URL'],
459
+        'hasMap' => ['Map', 'URL'],
460 460
         'isAccessibleForFree' => ['Boolean'],
461 461
         'isicV4' => ['Text'],
462
-        'logo' => ['ImageObject','URL'],
462
+        'logo' => ['ImageObject', 'URL'],
463 463
         'maximumAttendeeCapacity' => ['Integer'],
464 464
         'openingHoursSpecification' => ['OpeningHoursSpecification'],
465
-        'photo' => ['ImageObject','Photograph'],
465
+        'photo' => ['ImageObject', 'Photograph'],
466 466
         'publicAccess' => ['Boolean'],
467 467
         'review' => ['Review'],
468 468
         'slogan' => ['Text'],
@@ -571,7 +571,7 @@  discard block
 block discarded – undo
571 571
     {
572 572
         $rules = parent::rules();
573 573
         $rules = array_merge($rules, [
574
-            [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geoContains','geoCoveredBy','geoCovers','geoCrosses','geoDisjoint','geoEquals','geoIntersects','geoOverlaps','geoTouches','geoWithin','globalLocationNumber','hasMap','isAccessibleForFree','isicV4','logo','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','slogan','smokingAllowed','specialOpeningHoursSpecification','telephone'], 'validateJsonSchema'],
574
+            [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geoContains', 'geoCoveredBy', 'geoCovers', 'geoCrosses', 'geoDisjoint', 'geoEquals', 'geoIntersects', 'geoOverlaps', 'geoTouches', 'geoWithin', 'globalLocationNumber', 'hasMap', 'isAccessibleForFree', 'isicV4', 'logo', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'slogan', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone'], 'validateJsonSchema'],
575 575
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
576 576
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
577 577
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/OfferCatalog.php 2 patches
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.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -152,8 +152,8 @@  discard block
 block discarded – undo
152 152
      * @var array
153 153
      */
154 154
     static protected $_schemaPropertyExpectedTypes = [
155
-        'itemListElement' => ['ListItem','Text','Thing'],
156
-        'itemListOrder' => ['ItemListOrderType','Text'],
155
+        'itemListElement' => ['ListItem', 'Text', 'Thing'],
156
+        'itemListOrder' => ['ItemListOrderType', 'Text'],
157 157
         'numberOfItems' => ['Integer']
158 158
     ];
159 159
 
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
     {
227 227
         $rules = parent::rules();
228 228
         $rules = array_merge($rules, [
229
-            [['itemListElement','itemListOrder','numberOfItems'], 'validateJsonSchema'],
229
+            [['itemListElement', 'itemListOrder', 'numberOfItems'], 'validateJsonSchema'],
230 230
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
231 231
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
232 232
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/PaymentChargeSpecification.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
     {
200 200
         $rules = parent::rules();
201 201
         $rules = array_merge($rules, [
202
-            [['appliesToDeliveryMethod','appliesToPaymentMethod'], 'validateJsonSchema'],
202
+            [['appliesToDeliveryMethod', 'appliesToPaymentMethod'], 'validateJsonSchema'],
203 203
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
204 204
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
205 205
         ]);
Please login to merge, or discard this patch.