Mercurial > hg > cmmr2012-drupal-site
comparison vendor/zendframework/zend-feed/src/PubSubHubbub/Publisher.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | 5311817fb629 |
children |
comparison
equal
deleted
inserted
replaced
3:307d7a7fd348 | 4:a9cd425dd02b |
---|---|
346 * | 346 * |
347 * @return bool | 347 * @return bool |
348 */ | 348 */ |
349 public function isSuccess() | 349 public function isSuccess() |
350 { | 350 { |
351 return ! (count($this->errors) != 0); | 351 return ! $this->errors; |
352 } | 352 } |
353 | 353 |
354 /** | 354 /** |
355 * Return an array of errors met from any failures, including keys: | 355 * Return an array of errors met from any failures, including keys: |
356 * 'response' => the Zend\Http\Response object from the failure | 356 * 'response' => the Zend\Http\Response object from the failure |