Completed
Push — vendor/getid3 ( f84e24...1ec141 )
by Pauli
03:18
created
3rdparty/getID3/getid3/module.graphic.jpg.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -208,6 +208,9 @@
 block discarded – undo
208 208
 	}
209 209
 
210 210
 
211
+	/**
212
+	 * @param integer $iptc_tagkey
213
+	 */
211 214
 	public function IPTCrecordTagName($iptc_record, $iptc_tagkey) {
212 215
 		// http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/IPTC.html
213 216
 		static $IPTCrecordTagName = array();
Please login to merge, or discard this patch.
3rdparty/getID3/getid3/module.graphic.pcd.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -99,6 +99,11 @@
 block discarded – undo
99 99
 
100 100
 	}
101 101
 
102
+	/**
103
+	 * @param integer $Y
104
+	 * @param integer $Cb
105
+	 * @param integer $Cr
106
+	 */
102 107
 	public function YCbCr2RGB($Y, $Cb, $Cr) {
103 108
 		static $YCbCr_constants = array();
104 109
 		if (empty($YCbCr_constants)) {
Please login to merge, or discard this patch.
3rdparty/getID3/getid3/module.misc.cue.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 	/**
55 55
 	* Parses a cue sheet file.
56 56
 	*
57
-	* @param string $filename - The filename for the cue sheet to open.
57
+	* @param string $filedata
58 58
 	*/
59 59
 	public function readCueSheet(&$filedata)
60 60
 	{
@@ -261,6 +261,9 @@  discard block
 block discarded – undo
261 261
 		}
262 262
 	}
263 263
 
264
+	/**
265
+	 * @param integer $track_on
266
+	 */
264 267
 	public function parseString($line, $track_on)
265 268
 	{
266 269
 		$category = strtolower(substr($line, 0, strpos($line, ' ')));
Please login to merge, or discard this patch.
3rdparty/getID3/getid3/module.misc.iso.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@  discard block
 block discarded – undo
56 56
 	}
57 57
 
58 58
 
59
+	/**
60
+	 * @param string $ISOheader
61
+	 */
59 62
 	public function ParsePrimaryVolumeDescriptor(&$ISOheader) {
60 63
 		// ISO integer values are stored *BOTH* Little-Endian AND Big-Endian format!!
61 64
 		// ie 12345 == 0x3039  is stored as $39 $30 $30 $39 in a 4-byte field
@@ -130,6 +133,9 @@  discard block
 block discarded – undo
130 133
 	}
131 134
 
132 135
 
136
+	/**
137
+	 * @param string $ISOheader
138
+	 */
133 139
 	public function ParseSupplementaryVolumeDescriptor(&$ISOheader) {
134 140
 		// ISO integer values are stored Both-Endian format!!
135 141
 		// ie 12345 == 0x3039  is stored as $39 $30 $30 $39 in a 4-byte field
@@ -366,6 +372,9 @@  discard block
 block discarded – undo
366 372
 		return gmmktime($UNIXhour, $UNIXminute, $UNIXsecond, $UNIXmonth, $UNIXday, $UNIXyear);
367 373
 	}
368 374
 
375
+	/**
376
+	 * @param integer $BinaryValue
377
+	 */
369 378
 	public function TwosCompliment2Decimal($BinaryValue) {
370 379
 		// http://sandbox.mc.edu/~bennet/cs110/tc/tctod.html
371 380
 		// First check if the number is negative or positive by looking at the sign bit.
Please login to merge, or discard this patch.
3rdparty/getID3/getid3/module.tag.apetag.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -335,6 +335,9 @@
 block discarded – undo
335 335
 		return true;
336 336
 	}
337 337
 
338
+	/**
339
+	 * @param string $APEheaderFooterData
340
+	 */
338 341
 	public function parseAPEheaderFooter($APEheaderFooterData) {
339 342
 		// http://www.uni-jena.de/~pfk/mpp/sv8/apeheader.html
340 343
 
Please login to merge, or discard this patch.
3rdparty/getID3/getid3/module.tag.id3v2.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -3082,6 +3082,9 @@  discard block
 block discarded – undo
3082 3082
 	}
3083 3083
 
3084 3084
 
3085
+	/**
3086
+	 * @param string $index
3087
+	 */
3085 3088
 	public static function ETCOEventLookup($index) {
3086 3089
 		if (($index >= 0x17) && ($index <= 0xDF)) {
3087 3090
 			return 'reserved for future use';
@@ -3125,6 +3128,9 @@  discard block
 block discarded – undo
3125 3128
 		return (isset($EventLookup[$index]) ? $EventLookup[$index] : '');
3126 3129
 	}
3127 3130
 
3131
+	/**
3132
+	 * @param integer $index
3133
+	 */
3128 3134
 	public static function SYTLContentTypeLookup($index) {
3129 3135
 		static $SYTLContentTypeLookup = array(
3130 3136
 			0x00 => 'other',
@@ -3141,6 +3147,9 @@  discard block
 block discarded – undo
3141 3147
 		return (isset($SYTLContentTypeLookup[$index]) ? $SYTLContentTypeLookup[$index] : '');
3142 3148
 	}
3143 3149
 
3150
+	/**
3151
+	 * @param integer $index
3152
+	 */
3144 3153
 	public static function APICPictureTypeLookup($index, $returnarray=false) {
3145 3154
 		static $APICPictureTypeLookup = array(
3146 3155
 			0x00 => 'Other',
@@ -3171,6 +3180,9 @@  discard block
 block discarded – undo
3171 3180
 		return (isset($APICPictureTypeLookup[$index]) ? $APICPictureTypeLookup[$index] : '');
3172 3181
 	}
3173 3182
 
3183
+	/**
3184
+	 * @param integer $index
3185
+	 */
3174 3186
 	public static function COMRReceivedAsLookup($index) {
3175 3187
 		static $COMRReceivedAsLookup = array(
3176 3188
 			0x00 => 'Other',
@@ -3187,6 +3199,9 @@  discard block
 block discarded – undo
3187 3199
 		return (isset($COMRReceivedAsLookup[$index]) ? $COMRReceivedAsLookup[$index] : '');
3188 3200
 	}
3189 3201
 
3202
+	/**
3203
+	 * @param integer $index
3204
+	 */
3190 3205
 	public static function RVA2ChannelTypeLookup($index) {
3191 3206
 		static $RVA2ChannelTypeLookup = array(
3192 3207
 			0x00 => 'Other',
@@ -3621,6 +3636,9 @@  discard block
 block discarded – undo
3621 3636
 		return true;
3622 3637
 	}
3623 3638
 
3639
+	/**
3640
+	 * @param string $datestamp
3641
+	 */
3624 3642
 	public static function IsValidDateStampString($datestamp) {
3625 3643
 		if (strlen($datestamp) != 8) {
3626 3644
 			return false;
Please login to merge, or discard this patch.
3rdparty/getID3/getid3/module.tag.lyrics3.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -126,6 +126,9 @@  discard block
 block discarded – undo
126 126
 		return true;
127 127
 	}
128 128
 
129
+	/**
130
+	 * @param integer $version
131
+	 */
129 132
 	public function getLyrics3Data($endoffset, $version, $length) {
130 133
 		// http://www.volweb.cz/str/tags.htm
131 134
 
@@ -287,6 +290,9 @@  discard block
 block discarded – undo
287 290
 		return true;
288 291
 	}
289 292
 
293
+	/**
294
+	 * @param string $char
295
+	 */
290 296
 	public function IntString2Bool($char) {
291 297
 		if ($char == '1') {
292 298
 			return true;
Please login to merge, or discard this patch.
3rdparty/getID3/getid3/module.tag.xmp.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
 	* Parses a string containing XMP data (XML), and returns an array
224 224
 	* which contains all the XMP (XML) information.
225 225
 	*
226
-	* @param string $xml_text - a string containing the XMP data (XML) to be parsed
226
+	* @param string $xmltext - a string containing the XMP data (XML) to be parsed
227 227
 	* @return array $xmp_array - an array containing all xmp details retrieved.
228 228
 	* @return boolean FALSE - couldn't parse the XMP data
229 229
 	*/
@@ -398,6 +398,7 @@  discard block
 block discarded – undo
398 398
 	* Constructor
399 399
 	*
400 400
 	* @param string - Name of the image file to access and extract XMP information from.
401
+	* @param string $sFilename
401 402
 	*/
402 403
 	public function __construct($sFilename)
403 404
 	{
Please login to merge, or discard this patch.
3rdparty/getID3/getid3/write.id3v2.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -1644,6 +1644,9 @@  discard block
 block discarded – undo
1644 1644
 		return false;
1645 1645
 	}
1646 1646
 
1647
+	/**
1648
+	 * @param string $pricestring
1649
+	 */
1647 1650
 	public function ID3v2IsValidPriceString($pricestring) {
1648 1651
 		if (getid3_id3v2::LanguageLookup(substr($pricestring, 0, 3), true) == '') {
1649 1652
 			return false;
@@ -1770,6 +1773,9 @@  discard block
 block discarded – undo
1770 1773
 		return isset($ID3v2IsValidTextEncoding_cache[$this->majorversion][$textencodingbyte]);
1771 1774
 	}
1772 1775
 
1776
+	/**
1777
+	 * @param string $data
1778
+	 */
1773 1779
 	public static function Unsynchronise($data) {
1774 1780
 		// Whenever a false synchronisation is found within the tag, one zeroed
1775 1781
 		// byte is inserted after the first false synchronisation byte. The
@@ -1843,6 +1849,9 @@  discard block
 block discarded – undo
1843 1849
 		return preg_match('#^.+/.+$#', $mimestring);
1844 1850
 	}
1845 1851
 
1852
+	/**
1853
+	 * @param integer $maxbits
1854
+	 */
1846 1855
 	public static function IsWithinBitRange($number, $maxbits, $signed=false) {
1847 1856
 		if ($signed) {
1848 1857
 			if (($number > (0 - pow(2, $maxbits - 1))) && ($number <= pow(2, $maxbits - 1))) {
Please login to merge, or discard this patch.