File tree Expand file tree Collapse file tree 5 files changed +5
-13
lines changed
src/Symfony/Component/Uid Expand file tree Collapse file tree 5 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 99 * file that was distributed with this source code.
1010 */
1111
12- namespace Symfony \Component \Uid \Tests \Fixture ;
12+ namespace Symfony \Component \Uid \Tests \Fixtures ;
1313
1414use Symfony \Component \Uid \Ulid ;
1515
1616final class CustomUlid extends Ulid
1717{
18- public function __construct (string $ ulid = null )
19- {
20- parent ::__construct ($ ulid );
21- }
2218}
Original file line number Diff line number Diff line change 99 * file that was distributed with this source code.
1010 */
1111
12- namespace Symfony \Component \Uid \Tests \Fixture ;
12+ namespace Symfony \Component \Uid \Tests \Fixtures ;
1313
1414use Symfony \Component \Uid \Uuid ;
1515
1616final class CustomUuid extends Uuid
1717{
18- public function __construct (string $ uuid )
19- {
20- parent ::__construct ($ uuid );
21- }
2218}
Original file line number Diff line number Diff line change 1212namespace Symfony \Component \Uid \Tests ;
1313
1414use PHPUnit \Framework \TestCase ;
15- use Symfony \Component \Uid \Tests \Fixture \CustomUlid ;
15+ use Symfony \Component \Uid \Tests \Fixtures \CustomUlid ;
1616use Symfony \Component \Uid \Ulid ;
1717use Symfony \Component \Uid \UuidV4 ;
1818
Original file line number Diff line number Diff line change 1313
1414use PHPUnit \Framework \TestCase ;
1515use Symfony \Component \Uid \NilUuid ;
16- use Symfony \Component \Uid \Tests \Fixture \CustomUuid ;
16+ use Symfony \Component \Uid \Tests \Fixtures \CustomUuid ;
1717use Symfony \Component \Uid \Ulid ;
1818use Symfony \Component \Uid \Uuid ;
1919use Symfony \Component \Uid \UuidV1 ;
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public static function fromString(string $uuid): parent
7474 case NilUuid::TYPE : return new NilUuid ();
7575 }
7676
77- return new static ($ uuid );
77+ return new self ($ uuid );
7878 }
7979
8080 final public static function v1 (): UuidV1
You can’t perform that action at this time.
0 commit comments