Completed
Pull Request — 3.5 (#7661)
by Daniel
08:42
created
security/MemberAuthenticator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
 	 * @param Form $form Optional: If passed, better error messages can be
146 146
 	 *                             produced by using
147 147
 	 *                             {@link Form::sessionMessage()}
148
-	 * @return bool|Member Returns FALSE if authentication fails, otherwise
148
+	 * @return Member|null Returns FALSE if authentication fails, otherwise
149 149
 	 *                     the member object
150 150
 	 * @see Security::setDefaultAdmin()
151 151
 	 */
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 	/**
187 187
 	 * Method that creates the login form for this authentication method
188 188
 	 *
189
-	 * @param Controller The parent controller, necessary to create the
189
+	 * @param Controller Controller parent controller, necessary to create the
190 190
 	 *                   appropriate form action tag
191 191
 	 * @return MemberLoginForm Returns the login form to use with this authentication
192 192
 	 *              method
Please login to merge, or discard this patch.
filesystem/ImagickBackend.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 	 *
81 81
 	 * Get the backend-specific resource handling the manipulations. Replaces Image::getGD()
82 82
 	 *
83
-	 * @return mixed
83
+	 * @return ImagickBackend
84 84
 	 */
85 85
 	public function getImageResource() {
86 86
 		return $this;
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 	 *
112 112
 	 * @param int $width
113 113
 	 * @param int $height
114
-	 * @return Image_Backend
114
+	 * @return null|ImagickBackend
115 115
 	 */
116 116
 	public function resize($width, $height) {
117 117
 		if(!$this->valid()) return;
@@ -141,9 +141,9 @@  discard block
 block discarded – undo
141 141
 	/**
142 142
 	 * resizeRatio
143 143
 	 *
144
-	 * @param int $width
145
-	 * @param int $height
146
-	 * @return Image_Backend
144
+	 * @param integer $maxWidth
145
+	 * @param integer $maxHeight
146
+	 * @return null|ImagickBackend
147 147
 	 */
148 148
 	public function resizeRatio($maxWidth, $maxHeight, $useAsMinimum = false) {
149 149
 		if(!$this->valid()) return;
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
 	 * resizeByWidth
164 164
 	 *
165 165
 	 * @param int $width
166
-	 * @return Image_Backend
166
+	 * @return null|ImagickBackend
167 167
 	 */
168 168
 	public function resizeByWidth($width) {
169 169
 		if(!$this->valid()) return;
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
 	 * resizeByHeight
179 179
 	 *
180 180
 	 * @param int $height
181
-	 * @return Image_Backend
181
+	 * @return null|ImagickBackend
182 182
 	 */
183 183
 	public function resizeByHeight($height) {
184 184
 		if(!$this->valid()) return;
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
 	 * @param int $width
196 196
 	 * @param int $height
197 197
 	 * @param int $transparencyPercent
198
-	 * @return Image_Backend
198
+	 * @return null|ImagickBackend
199 199
 	 */
200 200
 	public function paddedResize($width, $height, $backgroundColor = "FFFFFF", $transparencyPercent = 0) {
201 201
 		//keep the % within bounds of 0-100
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
 	/**
218 218
 	 * Convert a percentage (or 'true') to a two char hex code to signifiy the level of an alpha channel
219 219
 	 *
220
-	 * @param $percent
220
+	 * @param integer $percent
221 221
 	 * @return string
222 222
 	 */
223 223
 	public function calculateAlphaHex($percent) {
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
 	 *
239 239
 	 * @param int $width
240 240
 	 * @param int $height
241
-	 * @return Image_Backend
241
+	 * @return null|ImagickBackend
242 242
 	 */
243 243
 	public function croppedResize($width, $height) {
244 244
 		if(!$this->valid()) return;
Please login to merge, or discard this patch.