Merge pull request #1 from hkreuter/master_fixes

Small fixes
This commit is contained in:
Anton Fedurtsya 2021-08-19 17:26:43 +03:00 committed by GitHub
commit 570964309b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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