Completed
Push — random-image-carousel ( edcefc...de29e3 )
by
unknown
27:13
created
mod/widget_manager/classes/MultiDashboard.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 	/**
46 46
 	 * Returns url to the dashboard
47 47
 	 *
48
-	 * @return string|boolean
48
+	 * @return string|false
49 49
 	 */
50 50
 	function getURL() {
51 51
 		$result = false;
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
 	/**
206 206
 	 * Returns the internal url
207 207
 	 *
208
-	 * @return boolean|string
208
+	 * @return string|false
209 209
 	 */
210 210
 	function getInternalUrl() {
211 211
 		$result = false;
Please login to merge, or discard this patch.
mod/widget_manager/lib/hooks.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
  * @param string $return_value current return value
158 158
  * @param array  $params       hook parameters
159 159
  *
160
- * @return array
160
+ * @return string
161 161
  */
162 162
 function widget_manager_register_widget_menu($hook_name, $entity_type, $return_value, $params) {
163 163
 	$widget = $params['entity'];
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
  * @param string $return_value current return value
249 249
  * @param array  $params       hook parameters
250 250
  *
251
- * @return array
251
+ * @return string
252 252
  */
253 253
 function widget_manager_register_extras_menu($hook_name, $entity_type, $return_value, $params) {
254 254
 	if (!elgg_is_logged_in()) {
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
  * @param string $return_value current return value
340 340
  * @param array  $params       hook parameters
341 341
  *
342
- * @return boolean
342
+ * @return boolean|string
343 343
  */
344 344
 function widget_manager_widget_layout_permissions_check($hook_name, $entity_type, $return_value, $params) {
345 345
 	$page_owner = elgg_extract("page_owner", $params);
@@ -577,7 +577,7 @@  discard block
 block discarded – undo
577 577
  * @param string $return_value current return value
578 578
  * @param array  $params       hook parameters
579 579
  *
580
- * @return boolean
580
+ * @return string|boolean
581 581
  */
582 582
 function widget_manager_permissions_check_site_hook_handler($hook_name, $entity_type, $return_value, $params) {
583 583
 	$user = elgg_extract("user", $params);
@@ -602,7 +602,7 @@  discard block
 block discarded – undo
602 602
  * @param string $return_value current return value
603 603
  * @param array  $params       hook parameters
604 604
  *
605
- * @return boolean
605
+ * @return string|boolean
606 606
  */
607 607
 function widget_manager_permissions_check_object_hook_handler($hook_name, $entity_type, $return_value, $params) {
608 608
 	$user = elgg_extract("user", $params);
@@ -725,7 +725,7 @@  discard block
 block discarded – undo
725 725
  * @param bool   $return_value current return value
726 726
  * @param array  $params       hook parameters
727 727
  *
728
- * @return bool
728
+ * @return boolean|null
729 729
  */
730 730
 function widget_manager_all_widget_settings_hook_handler($hook_name, $entity_type, $return_value, $params) {
731 731
 	if (empty($params) || !is_array($params)) {
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/TagFactory.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,6 @@
 block discarded – undo
51 51
      * interface is passed as alias then every time that interface is requested the provided service will be returned.
52 52
      *
53 53
      * @param object $service
54
-     * @param string $alias
55 54
      *
56 55
      * @return void
57 56
      */
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Deprecated.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
     /** @var string The version vector. */
44 44
     private $version = '';
45 45
 
46
+    /**
47
+     * @param string $version
48
+     */
46 49
     public function __construct($version = null, Description $description = null)
47 50
     {
48 51
         Assert::nullOrStringNotEmpty($version);
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Example.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@
 block discarded – undo
12 12
 
13 13
 namespace phpDocumentor\Reflection\DocBlock\Tags;
14 14
 
15
-use phpDocumentor\Reflection\DocBlock\Tag;
16
-
17 15
 /**
18 16
  * Reflection class for a {@}example tag in a Docblock.
19 17
  */
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -219,6 +219,9 @@
 block discarded – undo
219 219
         return $arguments;
220 220
     }
221 221
 
222
+    /**
223
+     * @return string
224
+     */
222 225
     private static function stripRestArg($argument)
223 226
     {
224 227
         if (strpos($argument, '...') === 0) {
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Source.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -31,6 +31,10 @@
 block discarded – undo
31 31
     /** @var int|null The number of lines, relative to the starting line. NULL means "to the end". */
32 32
     private $lineCount = null;
33 33
 
34
+    /**
35
+     * @param integer $startingLine
36
+     * @param integer $lineCount
37
+     */
34 38
     public function __construct($startingLine, $lineCount = null, Description $description = null)
35 39
     {
36 40
         Assert::integerish($startingLine);
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     }
64 64
 
65 65
     /**
66
-     * @param object|string $docblock A string containing the DocBlock to parse or an object supporting the
66
+     * @param \ReflectionClass $docblock A string containing the DocBlock to parse or an object supporting the
67 67
      *                                getDocComment method (such as a ReflectionClass object).
68 68
      * @param Types\Context $context
69 69
      * @param Location      $location
@@ -103,6 +103,10 @@  discard block
 block discarded – undo
103 103
         );
104 104
     }
105 105
 
106
+    /**
107
+     * @param integer $tagName
108
+     * @param string $handler
109
+     */
106 110
     public function registerTagHandler($tagName, $handler)
107 111
     {
108 112
         $this->tagFactory->registerTagHandler($tagName, $handler);
@@ -254,7 +258,7 @@  discard block
 block discarded – undo
254 258
     }
255 259
 
256 260
     /**
257
-     * @param $tags
261
+     * @param string $tags
258 262
      * @return string
259 263
      */
260 264
     private function filterTagBlock($tags)
Please login to merge, or discard this patch.
vendor/phpdocumentor/type-resolver/examples/Classy.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace My\Example;
4 4
 
5
-use Mockery as m;
6 5
 use phpDocumentor\Reflection\Types;
7 6
 
8 7
 class Classy
Please login to merge, or discard this patch.