Small fixes
Dieser Commit ist enthalten in:
Ursprung
6851ddf757
Commit
8de9123000
@ -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;
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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(
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren