comparison vendor/zendframework/zend-feed/src/PubSubHubbub/Subscriber.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 7a779792577d
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
562 * 562 *
563 * @return bool 563 * @return bool
564 */ 564 */
565 public function isSuccess() 565 public function isSuccess()
566 { 566 {
567 if (count($this->errors) > 0) { 567 return ! $this->errors;
568 return false;
569 }
570 return true;
571 } 568 }
572 569
573 /** 570 /**
574 * Return an array of errors met from any failures, including keys: 571 * Return an array of errors met from any failures, including keys:
575 * 'response' => the Zend\Http\Response object from the failure 572 * 'response' => the Zend\Http\Response object from the failure
665 * Return a list of standard protocol/optional parameters for addition to 662 * Return a list of standard protocol/optional parameters for addition to
666 * client's POST body that are specific to the current Hub Server URL 663 * client's POST body that are specific to the current Hub Server URL
667 * 664 *
668 * @param string $hubUrl 665 * @param string $hubUrl
669 * @param string $mode 666 * @param string $mode
670 * @return string 667 * @return array
671 * @throws Exception\InvalidArgumentException 668 * @throws Exception\InvalidArgumentException
672 */ 669 */
673 // @codingStandardsIgnoreStart 670 // @codingStandardsIgnoreStart
674 protected function _getRequestParameters($hubUrl, $mode) 671 protected function _getRequestParameters($hubUrl, $mode)
675 { 672 {