@@ -20,7 +20,7 @@ |
||
20 | 20 | public function __construct($length = self::DEFAULT_LENGTH) |
21 | 21 | { |
22 | 22 | if (!function_exists('openssl_random_pseudo_bytes')) { |
23 | - throw new \RuntimeException;//todo |
|
23 | + throw new \RuntimeException; //todo |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | $this->length = $length; |
@@ -24,7 +24,7 @@ |
||
24 | 24 | $this |
25 | 25 | ->setName('yokai:security-token:archive') |
26 | 26 | ->addOption('purpose', null, InputOption::VALUE_OPTIONAL, 'Filter tokens to archive on purpose.') |
27 | - ->addOption('before', null, InputOption::VALUE_OPTIONAL, 'Filter tokens to archive on created date.') |
|
27 | + ->addOption('before', null, InputOption::VALUE_OPTIONAL, 'Filter tokens to archive on created date.') |
|
28 | 28 | ; |
29 | 29 | } |
30 | 30 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | public function __construct($repository) |
22 | 22 | { |
23 | 23 | if (!$repository instanceof EntityRepository) { |
24 | - throw new \RuntimeException();//todo |
|
24 | + throw new \RuntimeException(); //todo |
|
25 | 25 | } |
26 | 26 | $this->repository = $repository; |
27 | 27 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | $id = sprintf('yokai_security_token.configuration.%s', $purpose); |
24 | 24 | |
25 | 25 | if ($container->hasDefinition($id)) { |
26 | - throw new \RuntimeException();//todo |
|
26 | + throw new \RuntimeException(); //todo |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | $definition = new Definition( |
@@ -31,7 +31,7 @@ |
||
31 | 31 | public function get($purpose) |
32 | 32 | { |
33 | 33 | if (!isset($this->configurations[$purpose])) { |
34 | - throw new \RuntimeException;//todo |
|
34 | + throw new \RuntimeException; //todo |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | return $this->configurations[$purpose]; |