Browse Source

Updated comments due to id type changes #487

Tobias Reich 8 years ago
parent
commit
152a887bc4
2 changed files with 4 additions and 1 deletions
  1. 1 1
      php/Modules/Album.php
  2. 3 0
      php/helpers/generateID.php

+ 1 - 1
php/Modules/Album.php

@@ -21,7 +21,7 @@ final class Album {
 	}
 
 	/**
-	 * @return integer|false ID of the created album.
+	 * @return string|false ID of the created album.
 	 */
 	public function add($title = 'Untitled') {
 

+ 3 - 0
php/helpers/generateID.php

@@ -1,5 +1,8 @@
 <?php
 
+/**
+ * @return string Generated ID.
+ */
 function generateID() {
 
 	// Generate id based on the current microtime