From ccb2f80638f1db3ea086342a829d2d2695c1c999 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 2 Jan 2024 23:34:18 +0000 Subject: [PATCH] update --- .../Application/Shop/Controller/AppController.php | 14 +++++++------- Controller/ApiController.php | 14 +++++++------- Models/PermissionCategory.php | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Admin/Install/Application/Shop/Controller/AppController.php b/Admin/Install/Application/Shop/Controller/AppController.php index 75c3d58..9117d1d 100755 --- a/Admin/Install/Application/Shop/Controller/AppController.php +++ b/Admin/Install/Application/Shop/Controller/AppController.php @@ -47,7 +47,7 @@ final class AppController extends ModuleAbstract protected static array $dependencies = []; /** - * Routing end-point for application behaviour. + * Routing end-point for application behavior. * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response @@ -67,7 +67,7 @@ final class AppController extends ModuleAbstract } /** - * Routing end-point for application behaviour. + * Routing end-point for application behavior. * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response @@ -87,7 +87,7 @@ final class AppController extends ModuleAbstract } /** - * Routing end-point for application behaviour. + * Routing end-point for application behavior. * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response @@ -107,7 +107,7 @@ final class AppController extends ModuleAbstract } /** - * Routing end-point for application behaviour. + * Routing end-point for application behavior. * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response @@ -127,7 +127,7 @@ final class AppController extends ModuleAbstract } /** - * Routing end-point for application behaviour. + * Routing end-point for application behavior. * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response @@ -147,7 +147,7 @@ final class AppController extends ModuleAbstract } /** - * Routing end-point for application behaviour. + * Routing end-point for application behavior. * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response @@ -167,7 +167,7 @@ final class AppController extends ModuleAbstract } /** - * Routing end-point for application behaviour. + * Routing end-point for application behavior. * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response diff --git a/Controller/ApiController.php b/Controller/ApiController.php index e7657ca..2faa90a 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -183,7 +183,7 @@ final class ApiController extends Controller if (!empty($attr = $item->getAttribute('brand')->value->getValue())) { $schema['brand'] = [ '@type' => 'Brand', - 'name' => $attr + 'name' => $attr, ]; } @@ -197,7 +197,7 @@ final class ApiController extends Controller if (!empty($attr = $item->getAttribute('country_of_origin')->value->getValue())) { $schema['countryOfOrigin'] = [ - '@type' => 'Country', + '@type' => 'Country', 'identifier' => $attr, ]; } @@ -241,14 +241,14 @@ final class ApiController extends Controller if (!empty($attr = $item->getAttribute('manufacturer')->value->getValue())) { $schema['manufacturer'] = [ - '@type' => 'Organization', + '@type' => 'Organization', 'legalName' => $attr, ]; } if (!empty($attr = $item->getAttribute('variantof')->value->getValue())) { $schema['isVariantOf'] = [ - '@type' => 'ProductGroup', + '@type' => 'ProductGroup', 'productGroupID' => $attr, ]; } @@ -259,7 +259,7 @@ final class ApiController extends Controller } $schema['isAccessoryOrSparePartFor'][] = [ - '@type' => 'Product', + '@type' => 'Product', 'identifier' => $attr, ]; } @@ -270,14 +270,14 @@ final class ApiController extends Controller } $schema['isAccessoryOrSparePartFor'][] = [ - '@type' => 'Product', + '@type' => 'Product', 'identifier' => $attr, ]; } if (!empty($attr = $item->getAttribute('consumablefor')->value->getValue())) { $schema['isConsumableFor'] = [ - '@type' => 'Product', + '@type' => 'Product', 'identifier' => $attr, ]; } diff --git a/Models/PermissionCategory.php b/Models/PermissionCategory.php index 2550b17..f0a22b3 100755 --- a/Models/PermissionCategory.php +++ b/Models/PermissionCategory.php @@ -17,7 +17,7 @@ namespace Modules\Shop\Models; use phpOMS\Stdlib\Base\Enum; /** - * Permision state enum. + * Permission category enum. * * @package Modules\Shop\Models * @license OMS License 2.0