Browse Source

Merge pull request #15957 from cakephp/4.next-cleanup

Remove unused element
Mark Story 4 years ago
parent
commit
94e5f09cee
2 changed files with 1 additions and 10 deletions
  1. 1 1
      src/View/AjaxView.php
  2. 0 9
      src/View/XmlView.php

+ 1 - 1
src/View/AjaxView.php

@@ -18,7 +18,7 @@ namespace Cake\View;
 
 /**
  * A view class that is used for AJAX responses.
- * Currently only switches the default layout and sets the response type - which just maps to
+ * Currently, only switches the default layout and sets the response type - which just maps to
  * text/html by default.
  */
 class AjaxView extends View

+ 0 - 9
src/View/XmlView.php

@@ -82,15 +82,6 @@ class XmlView extends SerializedView
     protected $_responseType = 'xml';
 
     /**
-     * Option to allow setting an array of custom options for Xml::fromArray()
-     *
-     * For e.g. 'format' as 'attributes' instead of 'tags'.
-     *
-     * @var array|null
-     */
-    protected $xmlOptions;
-
-    /**
      * Default config options.
      *
      * Use ViewBuilder::setOption()/setOptions() in your controller to set these options.