Completed
Push — 14.2 ( e07840...cec2da )
by Ralf
83:18 queued 52:04
created
phpgwapi/inc/horde/Horde/Registry.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      *
94 94
      * @param optional integer $session_flags  Any session flags.
95 95
      *
96
-     * @return object Registry  The Horde Registry instance.
96
+     * @return Registry Registry  The Horde Registry instance.
97 97
      */
98 98
     function &singleton($session_flags = 0)
99 99
     {
@@ -594,7 +594,7 @@  discard block
 block discarded – undo
594 594
      * @param string $path          The application string.
595 595
      * @param optional string $app  The application being called.
596 596
      *
597
-     * @return  TODO
597
+     * @return  string
598 598
      *          Returns PEAR_Error on error.
599 599
      */
600 600
     function applicationWebPath($path, $app = null)
@@ -729,6 +729,7 @@  discard block
 block discarded – undo
729 729
      *
730 730
      * @access public
731 731
      *
732
+     * @param integer $permission
732 733
      * @return boolean  Whether or not access is allowed.
733 734
      */
734 735
     function hasPermission($app, $permission = PERMS_READ)
@@ -921,6 +922,7 @@  discard block
 block discarded – undo
921 922
      * @param optional string $app  The application for which to get the
922 923
      *                              image directory. If blank will default
923 924
      *                              to current application.
925
+     * @param string $app
924 926
      *
925 927
      * @return string  The image directory uri path.
926 928
      */
Please login to merge, or discard this patch.
phpgwapi/inc/horde/Horde/RPC.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      * authentication in different ways. The base class implementation
64 64
      * checks for HTTP Authentication against the Horde auth setup.
65 65
      *
66
-     * @return boolean  Returns true if authentication is successful.
66
+     * @return boolean|null  Returns true if authentication is successful.
67 67
      *                  Should send appropriate "not authorized" headers
68 68
      *                  or other response codes/body if auth fails,
69 69
      *                  and take care of exiting.
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
      * Attempts to return a concrete RPC server instance based on
180 180
      * $driver.
181 181
      *
182
-     * @param mixed $driver  The type of concrete RPC subclass to return. If
182
+     * @param string $driver  The type of concrete RPC subclass to return. If
183 183
      *                       $driver is an array, then we will look in
184 184
      *                       $driver[0]/lib/RPC/ for the subclass
185 185
      *                       implementation named $driver[1].php.
Please login to merge, or discard this patch.
phpgwapi/inc/horde/Horde/RPC/syncml.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -121,6 +121,9 @@  discard block
 block discarded – undo
121 121
         return $response;
122 122
     }
123 123
 
124
+    /**
125
+     * @param string $xml
126
+     */
124 127
     function _parse($xml)
125 128
     {
126 129
         /* try to extract charset from XML text */
@@ -186,6 +189,9 @@  discard block
 block discarded – undo
186 189
         return 'application/vnd.syncml+xml';
187 190
     }
188 191
 
192
+    /**
193
+     * @param string $uri
194
+     */
189 195
     function startElement($uri, $element, $attrs)
190 196
     {
191 197
         $this->_xmlStack++;
@@ -216,6 +222,9 @@  discard block
 block discarded – undo
216 222
         }
217 223
     }
218 224
 
225
+    /**
226
+     * @param string $uri
227
+     */
219 228
     function endElement($uri, $element)
220 229
     {
221 230
         switch ($this->_xmlStack) {
@@ -265,6 +274,9 @@  discard block
 block discarded – undo
265 274
         }
266 275
     }
267 276
 
277
+    /**
278
+     * @param string $str
279
+     */
268 280
     function raiseError($str)
269 281
     {
270 282
         return Horde::logMessage($str, __FILE__, __LINE__, PEAR_LOG_ERR);
Please login to merge, or discard this patch.
phpgwapi/inc/horde/Horde/String.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -365,7 +365,7 @@
 block discarded – undo
365 365
      * @param string $charset The charset to use when calculating the string's
366 366
      *                        length.
367 367
      *
368
-     * @return string  The string's part.
368
+     * @return integer  The string's part.
369 369
      */
370 370
     public static function length($string, $charset = null)
371 371
     {
Please login to merge, or discard this patch.
phpgwapi/inc/horde/Horde/SyncML.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -147,6 +147,11 @@
 block discarded – undo
147 147
 
148 148
     var $_maxMsgSize;
149 149
 
150
+    /**
151
+     * @param string $sourceURI
152
+     * @param string $locName
153
+     * @param string $sessionID
154
+     */
150 155
     function &getStateFromSession($sourceURI, $locName, $sessionID)
151 156
     {
152 157
         // Remove any existing session since we'll be contructing a
Please login to merge, or discard this patch.
phpgwapi/inc/horde/Horde/SyncML/Command/Get.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -169,6 +169,9 @@
 block discarded – undo
169 169
      * @param string &$output contenthandler that will received the output.
170 170
      * @param array $additionaltypes: array of additional types for Tx and Rx;
171 171
      *              format array('text/vcard' => '3.0')
172
+     * @param string $sourceref
173
+     * @param string $mimetype
174
+     * @param string $version
172 175
      */
173 176
     function _writeDataStore($sourceref, $mimetype, $version, &$output,
174 177
                              $additionaltypes = false)
Please login to merge, or discard this patch.
phpgwapi/inc/horde/Horde/SyncML/Command/Sync.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -124,6 +124,9 @@
 block discarded – undo
124 124
     // from the Server to the client as we want to process the
125 125
     // client sync information before.
126 126
 
127
+    /**
128
+     * @param integer $currentCmdID
129
+     */
127 130
     function syncToClient($currentCmdID, &$output)
128 131
     {
129 132
 	    Horde::logMessage('SyncML: starting sync to client',
Please login to merge, or discard this patch.
phpgwapi/inc/horde/Horde/SyncML/Command/Sync/ContentSyncElement.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
 
20 20
 class Horde_SyncML_Command_Sync_ContentSyncElement extends Horde_SyncML_Command_Sync_SyncElementItem {
21 21
 
22
+    /**
23
+     * @param string $command
24
+     */
22 25
     function outputCommand($currentCmdID, &$output, $command)
23 26
 	{
24 27
 	    $state = $_SESSION['SyncML.state'];
Please login to merge, or discard this patch.
phpgwapi/inc/horde/Horde/SyncML/Command/Sync/SyncElementItem.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@  discard block
 block discarded – undo
38 38
 		return $this->_contentType;
39 39
 	}
40 40
 
41
+	/**
42
+	 * @return string
43
+	 */
41 44
 	function getContentFormat() {
42 45
 		return $this->_contentFormat;
43 46
 	}
@@ -69,6 +72,9 @@  discard block
 block discarded – undo
69 72
 		$this->_content = $_content;
70 73
 	}
71 74
 
75
+	/**
76
+	 * @param integer $_size
77
+	 */
72 78
 	function setContentSize($_size) {
73 79
 		$this->_contentSize = $_size;
74 80
 	}
@@ -89,6 +95,9 @@  discard block
 block discarded – undo
89 95
 		return $this->_moreData;
90 96
 	}
91 97
 
98
+	/**
99
+	 * @param boolean $_command
100
+	 */
92 101
 	function setCommand($_command) {
93 102
 		$this->_command = $_command;
94 103
 	}
Please login to merge, or discard this patch.