Small fixes
Cette révision appartient à :
Parent
6851ddf757
révision
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(
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user