Skip to content

Commit

Permalink
Updated naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Saulius committed Jul 2, 2018
1 parent 37c9461 commit ec92683
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/Operation/ObjectOperation/Ucnp.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,23 @@

namespace Sauls\Component\Helper\Operation\ObjectOperation;

use Sauls\Component\Helper\Operation\ClassOperation\UcnpInterface as ClassUfqcnInterface;
use Sauls\Component\Helper\Operation\ClassOperation\UcnpInterface as ClassOperationUcpnInterface;

class Ucnp implements UcnpInterface
{
/**
* @var ClassFqcnInterface
* @var ClassOperationUcpnInterface
*/
private $classFcqn;
private $classUcpn;

public function __construct(ClassUfqcnInterface $classFcqn)
public function __construct(ClassOperationUcpnInterface $classUcpn)
{
$this->classFcqn = $classFcqn;

$this->classUcpn = $classUcpn;
}

public function execute(object $value): string
{
return $this->classFcqn->execute(\get_class($value));
return $this->classUcpn->execute(\get_class($value));
}
}

0 comments on commit ec92683

Please sign in to comment.