Completed
Push — 1.12 ( 8ede67...c68d10 )
by Ismayil
13:36 queued 05:08
created
engine/classes/Elgg/ActionsService.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@  discard block
 block discarded – undo
29 29
 	/**
30 30
 	 * @see action
31 31
 	 * @access private
32
+	 * @param string $action
32 33
 	 */
33 34
 	public function execute($action, $forwarder = "") {
34 35
 		$action = rtrim($action, '/');
@@ -91,6 +92,7 @@  discard block
 block discarded – undo
91 92
 	/**
92 93
 	 * @see elgg_register_action
93 94
 	 * @access private
95
+	 * @param string $action
94 96
 	 */
95 97
 	public function register($action, $filename = "", $access = 'logged_in') {
96 98
 		// plugins are encouraged to call actions with a trailing / to prevent 301
@@ -117,6 +119,7 @@  discard block
 block discarded – undo
117 119
 	/**
118 120
 	 * @see elgg_unregister_action
119 121
 	 * @access private
122
+	 * @param string $action
120 123
 	 */
121 124
 	public function unregister($action) {
122 125
 		if (isset($this->actions[$action])) {
@@ -225,6 +228,7 @@  discard block
 block discarded – undo
225 228
 	/**
226 229
 	 * @see action_gatekeeper
227 230
 	 * @access private
231
+	 * @param string $action
228 232
 	 */
229 233
 	public function gatekeeper($action) {
230 234
 		if ($action === 'login') {
@@ -294,6 +298,7 @@  discard block
 block discarded – undo
294 298
 	/**
295 299
 	 * @see elgg_action_exists
296 300
 	 * @access private
301
+	 * @param string $action
297 302
 	 */
298 303
 	public function exists($action) {
299 304
 		return (isset($this->actions[$action]) && file_exists($this->actions[$action]['file']));
@@ -302,6 +307,9 @@  discard block
 block discarded – undo
302 307
 	/**
303 308
 	 * @see ajax_forward_hook
304 309
 	 * @access private
310
+	 * @param string $hook
311
+	 * @param string $reason
312
+	 * @param string $return
305 313
 	 */
306 314
 	public function ajaxForwardHook($hook, $reason, $return, $params) {
307 315
 		if (elgg_is_xhr()) {
Please login to merge, or discard this patch.
engine/classes/Elgg/AttributeLoader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 	 * Get primary attributes missing that are missing
132 132
 	 *
133 133
 	 * @param \stdClass $row Database row
134
-	 * @return array
134
+	 * @return boolean
135 135
 	 */
136 136
 	protected function isMissingPrimaries($row) {
137 137
 		return array_diff(self::$primary_attr_names, array_keys($row)) !== array();
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 	 * Get secondary attributes that are missing
142 142
 	 *
143 143
 	 * @param \stdClass $row Database row
144
-	 * @return array
144
+	 * @return boolean
145 145
 	 */
146 146
 	protected function isMissingSecondaries($row) {
147 147
 		return array_diff($this->secondary_attr_names, array_keys($row)) !== array();
Please login to merge, or discard this patch.
engine/classes/Elgg/Database.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 	 * @param mixed  $query    The query to execute.
187 187
 	 * @param string $callback A callback function
188 188
 	 *
189
-	 * @return mixed A single database result object or the result of the callback function.
189
+	 * @return \stdClass A single database result object or the result of the callback function.
190 190
 	 * @throws \DatabaseException
191 191
 	 */
192 192
 	public function getDataRow($query, $callback = '') {
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 	 *
201 201
 	 * @param mixed $query The query to execute.
202 202
 	 *
203
-	 * @return int|false The database id of the inserted row if a AUTO_INCREMENT field is
203
+	 * @return integer The database id of the inserted row if a AUTO_INCREMENT field is
204 204
 	 *                   defined, 0 if not, and false on failure.
205 205
 	 * @throws \DatabaseException
206 206
 	 */
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
 	 * @param string   $query  The query
385 385
 	 * @param resource $dblink The DB link
386 386
 	 *
387
-	 * @return resource|bool The result of mysql_query()
387
+	 * @return resource The result of mysql_query()
388 388
 	 * @throws \DatabaseException
389 389
 	 * @todo should this be public?
390 390
 	 */
Please login to merge, or discard this patch.
engine/classes/Elgg/Database/Annotations.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 	 *
34 34
 	 * @param int $id The id of the annotation object being retrieved.
35 35
 	 *
36
-	 * @return \ElggAnnotation|false
36
+	 * @return \ElggExtender
37 37
 	 */
38 38
 	function get($id) {
39 39
 		return _elgg_get_metastring_based_object_from_id($id, 'annotation');
Please login to merge, or discard this patch.
engine/classes/Elgg/Database/Datalist.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 	 * @tip Use datalists to store information common to a full installation.
56 56
 	 *
57 57
 	 * @param string $name The name of the datalist
58
-	 * @return string|null|false String if value exists, null if doesn't, false on error
58
+	 * @return string String if value exists, null if doesn't, false on error
59 59
 	 * @access private
60 60
 	 */
61 61
 	function get($name) {
Please login to merge, or discard this patch.
engine/classes/Elgg/Database/MetadataTable.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 	 *
77 77
 	 * @param int $id The id of the metadata object being retrieved.
78 78
 	 *
79
-	 * @return \ElggMetadata|false  false if not found
79
+	 * @return \ElggExtender  false if not found
80 80
 	 */
81 81
 	function get($id) {
82 82
 		return _elgg_get_metastring_based_object_from_id($id, 'metadata');
@@ -767,7 +767,7 @@  discard block
 block discarded – undo
767 767
 	 *
768 768
 	 * @param int $id Metadata ID
769 769
 	 *
770
-	 * @return mixed
770
+	 * @return string|false
771 771
 	 */
772 772
 	function getUrl($id) {
773 773
 		$extender = $this->get($id);
@@ -817,7 +817,7 @@  discard block
 block discarded – undo
817 817
 	 * @param string      $object_type The type of object
818 818
 	 * @param \ElggEntity $object      The entity itself
819 819
 	 *
820
-	 * @return true
820
+	 * @return boolean
821 821
 	 * @access private Set as private in 1.9.0
822 822
 	 */
823 823
 	function handleUpdate($event, $object_type, $object) {
Please login to merge, or discard this patch.
engine/classes/Elgg/Database/SiteSecret.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 	 *
29 29
 	 * Note: Old secrets were hex encoded.
30 30
 	 *
31
-	 * @return mixed The site secret hash or false
31
+	 * @return string|false The site secret hash or false
32 32
 	 * @access private
33 33
 	 */
34 34
 	function init() {
Please login to merge, or discard this patch.
engine/classes/Elgg/EventsService.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
 	 * @see elgg_trigger_event
24 24
 	 * @see elgg_trigger_after_event
25 25
 	 * @access private
26
+	 * @param string $type
26 27
 	 */
27 28
 	public function trigger($event, $type, $object = null, array $options = array()) {
28 29
 		$options = array_merge(array(
Please login to merge, or discard this patch.
engine/classes/Elgg/Filesystem/GaufretteDirectory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	 * 
139 139
 	 * @param string $path absolute path to directory on local filesystem.
140 140
 	 * 
141
-	 * @return Filesystem
141
+	 * @return GaufretteDirectory
142 142
 	 */
143 143
 	public static function createLocal($path) {
144 144
 		return new self(new Gaufrette(new Local($path)), $path);
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
 	/**
148 148
 	 * Shorthand for generating a new in-memory-only filesystem.
149 149
 	 * 
150
-	 * @return Filesystem
150
+	 * @return GaufretteDirectory
151 151
 	 */
152 152
 	public static function createInMemory() {
153 153
 		return new self(new Gaufrette(new InMemory()));
Please login to merge, or discard this patch.