Completed
Push — master ( 945d9a...e5db64 )
by Schlaefer
02:51
created
app/Lib/Saito/Posting/Decorator/UserPostingTrait.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,10 +8,16 @@  discard block
 block discarded – undo
8 8
 
9 9
 		protected $_CU;
10 10
 
11
+		/**
12
+		 * @return \Saito\User\ForumsUserInterface
13
+		 */
11 14
 		public function getCurrentUser() {
12 15
 			return $this->_CU;
13 16
 		}
14 17
 
18
+		/**
19
+		 * @param \Saito\User\ForumsUserInterface $CU
20
+		 */
15 21
 		public function setCurrentUser($CU) {
16 22
 			$this->_CU = $CU;
17 23
 		}
@@ -19,8 +25,7 @@  discard block
 block discarded – undo
19 25
 		/**
20 26
 		 * Checks if answering an entry is allowed
21 27
 		 *
22
-		 * @param array $entry
23
-		 * @return boolean
28
+		 * @return string|false
24 29
 		 */
25 30
 		public function isAnsweringForbidden() {
26 31
 			if ($this->isLocked()) {
Please login to merge, or discard this patch.
app/Lib/Saito/Thread/Renderer/ThreadHtmlRenderer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -76,6 +76,9 @@
 block discarded – undo
76 76
 			return $out;
77 77
 		}
78 78
 
79
+		/**
80
+		 * @param \Saito\Posting\PostingInterface $node
81
+		 */
79 82
 		protected function _renderThreadLine($node, array $posting, $level) {
80 83
 			$id = $posting['Entry']['id'];
81 84
 			$useLineCache = $level > 0 && $this->_LineCache;
Please login to merge, or discard this patch.
app/Lib/Saito/User/Cookie/CurrentUserCookie.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
 
10 10
 		protected $_Cookie;
11 11
 
12
+		/**
13
+		 * @param \CurrentUserComponent $CurrentUser
14
+		 */
12 15
 		public function write($CurrentUser) {
13 16
 			$cookie = [
14 17
 				'id' => $CurrentUser->getId(),
Please login to merge, or discard this patch.
app/Lib/Saito/User/LastRefresh/LastRefreshAbstract.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 		 * is last refresh newer than $timestamp
26 26
 		 *
27 27
 		 * @param mixed $timestamp int unix-timestamp or date as string
28
-		 * @return mixed bool or null if not determinable
28
+		 * @return null|boolean bool or null if not determinable
29 29
 		 */
30 30
 		public function isNewerThan($timestamp) {
31 31
 			if (is_string($timestamp)) {
Please login to merge, or discard this patch.
app/Model/AppModel.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 		 * Increments value of a field
126 126
 		 *
127 127
 		 * @param $id
128
-		 * @param $field
128
+		 * @param string $field
129 129
 		 * @param int $amount
130 130
 		 * @throws InvalidArgumentException
131 131
 		 */
@@ -197,6 +197,9 @@  discard block
 block discarded – undo
197 197
 			$this->dispatchSaitoEvent($event, $data);
198 198
 		}
199 199
 
200
+		/**
201
+		 * @param string $event
202
+		 */
200 203
 		public function dispatchSaitoEvent($event, $data) {
201 204
 			if (!$this->_SEM) {
202 205
 				$this->_SEM = SaitoEventManager::getInstance();
@@ -225,7 +228,7 @@  discard block
 block discarded – undo
225 228
 		 *
226 229
 		 * falls back to local definition if available
227 230
 		 *
228
-		 * @param $name
231
+		 * @param string $name
229 232
 		 * @return mixed
230 233
 		 * @throws UnexpectedValueException
231 234
 		 */
Please login to merge, or discard this patch.
app/Model/Bookmark.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,8 @@
 block discarded – undo
78 78
 
79 79
 /**
80 80
  *
81
- * @param int $entry_id
82
- * @param int $user_id
81
+ * @param int $entryId
82
+ * @param int $userId
83 83
  * @return bool
84 84
  */
85 85
 		public function isBookmarked($entryId, $userId) {
Please login to merge, or discard this patch.
app/Model/Entry.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -518,7 +518,7 @@
 block discarded – undo
518 518
 		/**
519 519
 		 * trees for multiple tids
520 520
 		 *
521
-		 * @param $ids
521
+		 * @param integer[] $ids
522 522
 		 * @param null $order
523 523
 		 * @param null $fieldlist
524 524
 		 * @return array|bool false if no threads or array with Posting
Please login to merge, or discard this patch.
app/Model/Esevent.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
  * 		'receiver'			=> '1',
158 158
  *  );
159 159
  *
160
- * @return type
160
+ * @return boolean
161 161
  */
162 162
 		public function setNotification($params) {
163 163
 			$isSet = $this->_getEventSet($params);
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
 
356 356
 /**
357 357
  *
358
- * @param type $user
358
+ * @param integer $user
359 359
  * @param array $subjects with subjet IDs
360 360
  * @return array
361 361
  *
Please login to merge, or discard this patch.
app/Model/Setting.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -92,6 +92,9 @@
 block discarded – undo
92 92
 			return $settings;
93 93
 		}
94 94
 
95
+		/**
96
+		 * @param string $field
97
+		 */
95 98
 		protected function _normToSeconds(&$settings, $field) {
96 99
 			$settings[$field] = (int)$settings[$field] * 60;
97 100
 		}
Please login to merge, or discard this patch.