Completed
Push — 2.0 ( 27d44a...604d03 )
by Christopher
06:56
created
plugins/Field/config/bootstrap.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,6 @@
 block discarded – undo
10 10
  * @license  http://opensource.org/licenses/gpl-3.0.html GPL-3.0 License
11 11
  */
12 12
 
13
-use CMS\Event\EventDispatcher;
14
-
15 13
 if (!function_exists('fieldsInfo')) {
16 14
     /**
17 15
      * Gets a collection of information of every registered field in the system, or
Please login to merge, or discard this patch.
plugins/Field/src/Handler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
      * @param array $options Options given as an array
118 118
      * @param bool $primary Whether this event was triggered as part of a primary
119 119
      *  find query or not
120
-     * @return mixed
120
+     * @return boolean
121 121
      */
122 122
     public function beforeFind(Field $field, array $options, $primary)
123 123
     {
Please login to merge, or discard this patch.
plugins/System/src/Controller/Admin/ConfigurationController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,7 @@
 block discarded – undo
11 11
  */
12 12
 namespace System\Controller\Admin;
13 13
 
14
-use Cake\ORM\Entity;
15 14
 use Cake\Validation\Validator;
16
-use CMS\Core\Plugin;
17 15
 use Locale\Utility\LocaleToolbox;
18 16
 use System\Controller\AppController;
19 17
 
Please login to merge, or discard this patch.
plugins/User/src/Auth/FormAuthenticate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     /**
88 88
      * Removes "remember me" cookie.
89 89
      *
90
-     * @param array $event User information given as an array
90
+     * @param Event $event User information given as an array
91 91
      * @return void
92 92
      */
93 93
     public function logout(Event $event, array $user)
Please login to merge, or discard this patch.
plugins/Captcha/src/Adapter/BaseAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     /**
88 88
      * Validates the given POST information.
89 89
      *
90
-     * @param \Cake\Network\Request $request Current request object, commonly used
90
+     * @param \Cake\Http\ServerRequest $request Current request object, commonly used
91 91
      *  to extract POST or Session information.
92 92
      * @return bool True if valid, false otherwise
93 93
      */
Please login to merge, or discard this patch.
plugins/Captcha/src/Adapter/RecaptchaAdapter.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
  */
12 12
 namespace Captcha\Adapter;
13 13
 
14
-use Cake\Core\Configure;
15
-use Cake\Core\Plugin;
16 14
 use Cake\Network\Request;
17 15
 use Cake\View\View;
18 16
 use Captcha\Adapter\BaseAdapter;
Please login to merge, or discard this patch.
plugins/Content/src/Event/ContentHook.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Cake\Event\Event;
15 15
 use Cake\Event\EventListenerInterface;
16
-use CMS\View\ViewModeRegistry;
17 16
 use Content\Model\Entity\Content;
18 17
 
19 18
 /**
Please login to merge, or discard this patch.
plugins/MediaManager/src/Controller/Admin/ExplorerController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     /**
44 44
      * Returns the given plugin's file within webroot directory.
45 45
      *
46
-     * @return void
46
+     * @return \Cake\Network\Response|null
47 47
      */
48 48
     public function pluginFile()
49 49
     {
Please login to merge, or discard this patch.
plugins/Menu/src/Controller/Component/BreadcrumbComponent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      * $this->Breadcrumb->push('/admin/some/url');
67 67
      * ```
68 68
      *
69
-     * @param array|string|null $crumbs Single crumb or an array of multiple crumbs
69
+     * @param string|null $crumbs Single crumb or an array of multiple crumbs
70 70
      *  to push at once. Or null for guess from current URL
71 71
      * @param mixed $url If both $crumbs and $url are string values they will be
72 72
      *  used as `title` and `URL` respectively
Please login to merge, or discard this patch.