Small fixes

This commit is contained in:
hkreuter 2021-06-01 17:15:07 +02:00
parent 6851ddf757
commit 8de9123000
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
declare(strict_types=1); declare(strict_types=1);
$header = <<<'EOF' $header = <<<'EOF'
Copyright © __Vender__. All rights reserved. Copyright © __Vendor__. All rights reserved.
See LICENSE file for license details. See LICENSE file for license details.
EOF; EOF;

View File

@ -6,7 +6,7 @@ services:
__Vendor__\GraphQL\__Package__\: __Vendor__\GraphQL\__Package__\:
resource: 'src/*' resource: 'src/*'
exclude: 'src/**/DataType' exclude: 'src/**/{DataType,Exception,Infrastructure}'
public: true public: true
__Vendor__\GraphQL\__Package__\Shared\Service\NamespaceMapper: __Vendor__\GraphQL\__Package__\Shared\Service\NamespaceMapper:

View File

@ -24,7 +24,7 @@ final class CategoryRepository
$category = oxNew(CategoryEshopModel::class); $category = oxNew(CategoryEshopModel::class);
if (!$category->load($id)) { if (!$category->load($id)) {
throw new NotFound(); throw new NotFound($id);
} }
return new CategoryDataType( return new CategoryDataType(