Completed
Push — master ( 6f073a...bfaf15 )
by
unknown
8s
created
lib/Loader.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -95,6 +95,8 @@
 block discarded – undo
95 95
 	 * @param      string               $callback         The name of the function definition on the $component.
96 96
 	 * @param      int      Optional    $priority         The priority at which the function should be fired.
97 97
 	 * @param      int      Optional    $accepted_args    The number of arguments that should be passed to the $callback.
98
+	 * @param integer $priority
99
+	 * @param integer $accepted_args
98 100
 	 * @return   type                                   The collection of actions and filters registered with WordPress.
99 101
 	 */
100 102
 	private function add( $hooks, $hook, $component, $callback, $priority, $accepted_args ) {
Please login to merge, or discard this patch.
lib/Plugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
 	 * Get a plugin option by name.
190 190
 	 *
191 191
 	 * @param  string $name    Option name.
192
-	 * @param  mixed  $default Option default if not set.
192
+	 * @param  string|false  $default Option default if not set.
193 193
 	 * @return mixed           Option value.
194 194
 	 */
195 195
 	public function get_option( $name = null, $default = null ) {
Please login to merge, or discard this patch.
lib/Redmine/Client.php 1 patch
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      * Fetch an issue.
67 67
      * @param  string $id      Issue ID.
68 68
      * @param  array  $options Request options.
69
-     * @param  array  $expires Cache TTL, in seconds (defaults to 3600).
69
+     * @param  integer  $expires Cache TTL, in seconds (defaults to 3600).
70 70
      * @return mixed           Response data.
71 71
      */
72 72
     public function get_issue( $id, $options = array(), $expires = 3600  ) {
@@ -77,10 +77,9 @@  discard block
 block discarded – undo
77 77
 
78 78
     /**
79 79
      * Handle GET requests.
80
-     * @param  string $resource Resource to fetch
81 80
      * @param  array  $options  Request options.
82
-     * @param  array  $expires  Cache TTL, in seconds (defaults to 3600).
83
-     * @return mixed            Response data.
81
+     * @param  integer  $expires  Cache TTL, in seconds (defaults to 3600).
82
+     * @return string            Response data.
84 83
      */
85 84
     public function get( $url, $options = array(), $expires = 3600 ) {
86 85
         $options = $this->add_credentials( $options );
@@ -100,7 +99,6 @@  discard block
 block discarded – undo
100 99
 
101 100
     /**
102 101
      * Fetch the response body for a GET request.
103
-     * @param  string $resource Resource to fetch
104 102
      * @param  array  $options  Request options.
105 103
      * @return string           Request body.
106 104
      */
Please login to merge, or discard this patch.
lib/Frontend.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,6 @@
 block discarded – undo
173 173
 	/**
174 174
 	 * Render error message.
175 175
 	 *
176
-	 * @param  string $error Error message.
177 176
 	 */
178 177
 	private function render_issue( $issue ) {
179 178
 		ob_start();
Please login to merge, or discard this patch.