This method seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
48
{
49
if (!file_exists($path) || !is_file($path)) {
50
throw new CertificateFileNotFoundException(sprintf(
51
'The certificate file "%s" was not found.',
52
$path
53
));
54
}
55
56
$this->teamId = $teamId;
57
$this->key = $key;
58
$this->path = $path;
59
}
60
61
/**
62
* Get the identifier of team (Apple Developer)
63
*
64
* @return string
65
*/
66
public function getTeamId(): string
67
{
68
return $this->teamId;
69
}
70
71
/**
72
* Get the key of certificate
73
* You can see the key of certificate in Apple Developer Center
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.