Skip to content

Commit 7966350

Browse files
committed
IMP: registration with use and strict_types
1 parent 7eb7483 commit 7966350

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

registration.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
<?php
22

3-
\Magento\Framework\Component\ComponentRegistrar::register(
4-
\Magento\Framework\Component\ComponentRegistrar::MODULE,
3+
declare(strict_types=1);
4+
5+
use \Magento\Framework\Component\ComponentRegistrar;
6+
7+
ComponentRegistrar::register(
8+
ComponentRegistrar::MODULE,
59
'Mooore_AddToCartNotification',
610
__DIR__
711
);

0 commit comments

Comments
 (0)