Failed Conditions
Pull Request — master (#55)
by Sander
02:10
created
lib/Db/NextNoteMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
 	/**
74 74
 	 * @param $userId
75
-	 * @param int|bool $deleted
75
+	 * @param integer $deleted
76 76
 	 * @param string|bool $group
77 77
 	 * @return NextNote[] if not found
78 78
 	 */
Please login to merge, or discard this patch.
lib/Fixtures/ShareFix.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -29,6 +29,10 @@  discard block
 block discarded – undo
29 29
 
30 30
 class ShareFix extends Share {
31 31
 
32
+	/**
33
+	 * @param string $level
34
+	 * @param string $message
35
+	 */
32 36
 	private static function log($level, $message, $context) {
33 37
 		\OC::$server->getLogger()->log($level, $message, $context);
34 38
 	}
@@ -844,6 +848,9 @@  discard block
 block discarded – undo
844 848
 		return $date;
845 849
 	}
846 850
 
851
+	/**
852
+	 * @param string $itemType
853
+	 */
847 854
 	public static function getPermissions($itemType, $itemSource, $uid) {
848 855
 		$uid = \OC::$server->getUserSession()->getUser();
849 856
 		$gm = \OC::$server->getGroupManager();
Please login to merge, or discard this patch.
lib/Service/SettingsService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 	 * Get a app setting
63 63
 	 *
64 64
 	 * @param $key string
65
-	 * @param null $default_value The default value if key does not exist
65
+	 * @param string|false $default_value The default value if key does not exist
66 66
 	 * @return mixed
67 67
 	 */
68 68
 	public function getAppSetting($key, $default_value = null) {
Please login to merge, or discard this patch.
lib/ShareBackend/NextNoteShareBackend.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
 	 * For permissions
146 146
 	 * @see \OCP\Constants
147 147
 	 * @param $permission
148
-	 * @param $note NextNote
148
+	 * @param NextNote $note NextNote
149 149
 	 * @return bool|int
150 150
 	 */
151 151
 	public function checkPermissions($permission, $note) {
Please login to merge, or discard this patch.
lib/Utility/UnauthorizedJSONResponse.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * Creates a new json response with a not found status code.
34
-     * @param array $response_data
35 34
      */
36 35
     public function __construct() {
37 36
         parent::__construct(null, Http::STATUS_UNAUTHORIZED);
Please login to merge, or discard this patch.