comparison vendor/zendframework/zend-feed/src/Writer/Renderer/Entry/AtomDeleted.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children 129ea1e6d783
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
55 * 55 *
56 * @param DOMDocument $dom 56 * @param DOMDocument $dom
57 * @param DOMElement $root 57 * @param DOMElement $root
58 * @return void 58 * @return void
59 */ 59 */
60 // @codingStandardsIgnoreStart
60 protected function _setComment(DOMDocument $dom, DOMElement $root) 61 protected function _setComment(DOMDocument $dom, DOMElement $root)
61 { 62 {
62 if (!$this->getDataContainer()->getComment()) { 63 // @codingStandardsIgnoreEnd
64 if (! $this->getDataContainer()->getComment()) {
63 return; 65 return;
64 } 66 }
65 $c = $dom->createElement('at:comment'); 67 $c = $dom->createElement('at:comment');
66 $root->appendChild($c); 68 $root->appendChild($c);
67 $c->setAttribute('type', 'html'); 69 $c->setAttribute('type', 'html');
74 * 76 *
75 * @param DOMDocument $dom 77 * @param DOMDocument $dom
76 * @param DOMElement $root 78 * @param DOMElement $root
77 * @return void 79 * @return void
78 */ 80 */
81 // @codingStandardsIgnoreStart
79 protected function _setBy(DOMDocument $dom, DOMElement $root) 82 protected function _setBy(DOMDocument $dom, DOMElement $root)
80 { 83 {
84 // @codingStandardsIgnoreEnd
81 $data = $this->container->getBy(); 85 $data = $this->container->getBy();
82 if ((!$data || empty($data))) { 86 if ((! $data || empty($data))) {
83 return; 87 return;
84 } 88 }
85 $author = $this->dom->createElement('at:by'); 89 $author = $this->dom->createElement('at:by');
86 $name = $this->dom->createElement('name'); 90 $name = $this->dom->createElement('name');
87 $author->appendChild($name); 91 $author->appendChild($name);