Completed
Push — master ( bb4c25...f83182 )
by Hannes
06:23
created

src/OrganizationIdFactory.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
declare(strict_types = 1);
4
5
namespace byrokrat\id;
6
7
class OrganizationIdFactory implements IdFactoryInterface
8
{
9
    use Helper\IdFactoryDecoratorTrait;
10 2
11
    protected function createNewInstance(string $raw, \DateTimeInterface $atDate = null): IdInterface
0 ignored issues
show
The parameter $atDate is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
12 2
    {
13
        return new OrganizationId($raw);
14
    }
15
}
16