@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | /** |
| 170 | 170 | * Return whether a property exists |
| 171 | 171 | * |
| 172 | - * @param \stdClass|Iri|string $iri IRI |
|
| 172 | + * @param Iri $iri IRI |
|
| 173 | 173 | * |
| 174 | 174 | * @return boolean Property exists |
| 175 | 175 | */ |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | /** |
| 244 | 244 | * Set a particular property |
| 245 | 245 | * |
| 246 | - * @param \stdClass|Iri|string $iri IRI |
|
| 246 | + * @param Iri $iri IRI |
|
| 247 | 247 | * @param array $value Property values |
| 248 | 248 | */ |
| 249 | 249 | public function offsetSet($iri, $value) |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | public function testMicroformatsExtraction() |
| 108 | 108 | { |
| 109 | 109 | $microformatsTests = ComposerLocator::getPath('mf2/tests').DIRECTORY_SEPARATOR.'tests'. |
| 110 | - DIRECTORY_SEPARATOR.'microformats-v2'.DIRECTORY_SEPARATOR; |
|
| 110 | + DIRECTORY_SEPARATOR.'microformats-v2'.DIRECTORY_SEPARATOR; |
|
| 111 | 111 | |
| 112 | 112 | $this->getAndTestMicroformatsExtractionBase( |
| 113 | 113 | $microformatsTests.'h-product'.DIRECTORY_SEPARATOR.'aggregate.html' |
@@ -57,6 +57,7 @@ discard block |
||
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | 59 | * Constructor |
| 60 | + * @param integer $threshold |
|
| 60 | 61 | */ |
| 61 | 62 | public function __construct($threshold = Logger::ERROR) |
| 62 | 63 | { |
@@ -71,7 +72,7 @@ discard block |
||
| 71 | 72 | * @param string $message The log message |
| 72 | 73 | * @param array $context The log context |
| 73 | 74 | * |
| 74 | - * @return Boolean Whether the record has been processed |
|
| 75 | + * @return boolean|null Whether the record has been processed |
|
| 75 | 76 | * @throws \Exception Exception that occured |
| 76 | 77 | * @throws \RuntimeException Log message as exception |
| 77 | 78 | */ |