File tree 5 files changed +5
-13
lines changed
src/Symfony/Component/Uid
5 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 9
9
* file that was distributed with this source code.
10
10
*/
11
11
12
- namespace Symfony \Component \Uid \Tests \Fixture ;
12
+ namespace Symfony \Component \Uid \Tests \Fixtures ;
13
13
14
14
use Symfony \Component \Uid \Ulid ;
15
15
16
16
final class CustomUlid extends Ulid
17
17
{
18
- public function __construct (string $ ulid = null )
19
- {
20
- parent ::__construct ($ ulid );
21
- }
22
18
}
Original file line number Diff line number Diff line change 9
9
* file that was distributed with this source code.
10
10
*/
11
11
12
- namespace Symfony \Component \Uid \Tests \Fixture ;
12
+ namespace Symfony \Component \Uid \Tests \Fixtures ;
13
13
14
14
use Symfony \Component \Uid \Uuid ;
15
15
16
16
final class CustomUuid extends Uuid
17
17
{
18
- public function __construct (string $ uuid )
19
- {
20
- parent ::__construct ($ uuid );
21
- }
22
18
}
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Uid \Tests ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Component \Uid \Tests \Fixture \CustomUlid ;
15
+ use Symfony \Component \Uid \Tests \Fixtures \CustomUlid ;
16
16
use Symfony \Component \Uid \Ulid ;
17
17
use Symfony \Component \Uid \UuidV4 ;
18
18
Original file line number Diff line number Diff line change 13
13
14
14
use PHPUnit \Framework \TestCase ;
15
15
use Symfony \Component \Uid \NilUuid ;
16
- use Symfony \Component \Uid \Tests \Fixture \CustomUuid ;
16
+ use Symfony \Component \Uid \Tests \Fixtures \CustomUuid ;
17
17
use Symfony \Component \Uid \Ulid ;
18
18
use Symfony \Component \Uid \Uuid ;
19
19
use 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
74
74
case NilUuid::TYPE : return new NilUuid ();
75
75
}
76
76
77
- return new static ($ uuid );
77
+ return new self ($ uuid );
78
78
}
79
79
80
80
final public static function v1 (): UuidV1
You can’t perform that action at this time.
0 commit comments