@@ -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) |
@@ -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 | } |
@@ -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 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use LegalThings\DataEnricher\Node; |
| 6 | 6 | use LegalThings\DataEnricher\Processor; |
| 7 | -use StephenHill\Base58; |
|
| 8 | 7 | |
| 9 | 8 | /** |
| 10 | 9 | * Hash processor |