@@ -124,6 +124,9 @@ discard block |
||
| 124 | 124 | } |
| 125 | 125 | } |
| 126 | 126 | |
| 127 | + /** |
|
| 128 | + * @param Playlist $playlist |
|
| 129 | + */ |
|
| 127 | 130 | private function toFullTree($playlist) { |
| 128 | 131 | $songs = []; |
| 129 | 132 | |
@@ -191,6 +194,7 @@ discard block |
||
| 191 | 194 | * Modify playlist by calling a supplied method from PlaylistBusinessLayer |
| 192 | 195 | * @param string funcName Name of a function to call from PlaylistBusinessLayer |
| 193 | 196 | * @param array $funcParams Parameters to pass to the function 'funcName' |
| 197 | + * @param string $funcName |
|
| 194 | 198 | * @return \OCP\AppFramework\Http\JSONResponse JSON representation of the modified playlist |
| 195 | 199 | */ |
| 196 | 200 | private function modifyPlaylist($funcName, $funcParams) { |
@@ -22,6 +22,10 @@ |
||
| 22 | 22 | */ |
| 23 | 23 | class BaseMapper extends Mapper { |
| 24 | 24 | |
| 25 | + /** |
|
| 26 | + * @param string $tableName |
|
| 27 | + * @param string $entityClass |
|
| 28 | + */ |
|
| 25 | 29 | public function __construct(IDBConnection $db, $tableName, $entityClass=null){ |
| 26 | 30 | parent::__construct($db, $tableName, $entityClass); |
| 27 | 31 | } |