@@ -137,7 +137,6 @@ |
||
| 137 | 137 | * Check if object has at leas one process property |
| 138 | 138 | * |
| 139 | 139 | * @param \stdClass $value |
| 140 | - * @param Processor[] $processors |
|
| 141 | 140 | * @return boolean |
| 142 | 141 | */ |
| 143 | 142 | protected function hasProcessorProperty($value) |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | $target = $target->getResult(); |
| 47 | 47 | $this->applyNodeResults($target); |
| 48 | 48 | } elseif (is_array($target) || is_object($target)) { |
| 49 | - foreach ($target as &$value) { |
|
| 49 | + foreach ($target as &$value) { |
|
| 50 | 50 | $this->applyNodeResults($value); |
| 51 | 51 | } |
| 52 | 52 | } |
@@ -13,6 +13,7 @@ discard block |
||
| 13 | 13 | * Class constructor |
| 14 | 14 | * |
| 15 | 15 | * @param string $property Property key with the processing instruction |
| 16 | + * @return void |
|
| 16 | 17 | */ |
| 17 | 18 | public function __construct($property); |
| 18 | 19 | |
@@ -27,6 +28,7 @@ discard block |
||
| 27 | 28 | * Apply processing to a node |
| 28 | 29 | * |
| 29 | 30 | * @param Node $node |
| 31 | + * @return null|boolean |
|
| 30 | 32 | */ |
| 31 | 33 | public function applyToNode(Node $node); |
| 32 | 34 | } |
@@ -103,7 +103,8 @@ |
||
| 103 | 103 | * |
| 104 | 104 | * @return mixed $result |
| 105 | 105 | */ |
| 106 | - protected function resolveNodes($node) { |
|
| 106 | + protected function resolveNodes($node) |
|
| 107 | + { |
|
| 107 | 108 | if (!$node instanceof Node) { |
| 108 | 109 | return $node; |
| 109 | 110 | } |
@@ -209,7 +209,6 @@ discard block |
||
| 209 | 209 | * |
| 210 | 210 | * @param string $data |
| 211 | 211 | * @param string $key The public key |
| 212 | - * @param string $passphrase |
|
| 213 | 212 | * @param int $padding |
| 214 | 213 | * |
| 215 | 214 | * @return string |
@@ -293,10 +292,9 @@ discard block |
||
| 293 | 292 | * @param string $data |
| 294 | 293 | * @param string $signature |
| 295 | 294 | * @param string $key The public key |
| 296 | - * @param string $passphrase |
|
| 297 | 295 | * @param int $signature_alg |
| 298 | 296 | * |
| 299 | - * @return string |
|
| 297 | + * @return integer |
|
| 300 | 298 | */ |
| 301 | 299 | function verify_signature($data, $signature, $key, $signature_alg = OPENSSL_ALGO_SHA1) |
| 302 | 300 | { |