Skip to content

Commit 6383465

Browse files
committed
style fix
1 parent 45b7084 commit 6383465

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/vendor
2+
.idea

src/GetId3.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ public static function fromDiskAndPath($disk, $path)
3939

4040
/**
4141
* Get an instance of the underlying get getID3 class.
42+
*
4243
* @return \getID3
44+
*
4345
* @throws \getid3_exception
4446
*/
4547
private function getId3()
@@ -51,6 +53,7 @@ private function getId3()
5153
* Extract all available info from file.
5254
*
5355
* @return array|string
56+
*
5457
* @throws \getid3_exception
5558
*/
5659
public function extractInfo()
@@ -88,7 +91,9 @@ private function analyze()
8891

8992
/**
9093
* Get all comments.
94+
*
9195
* @return mixed
96+
*
9297
* @throws \getid3_exception
9398
*/
9499
private function comments()
@@ -100,6 +105,7 @@ private function comments()
100105
* Get the title of the media file.
101106
*
102107
* @return string
108+
*
103109
* @throws \getid3_exception
104110
*/
105111
public function getTitle()
@@ -109,7 +115,9 @@ public function getTitle()
109115

110116
/**
111117
* Get Album name.
118+
*
112119
* @return string
120+
*
113121
* @throws \getid3_exception
114122
*/
115123
public function getAlbum()
@@ -119,7 +127,9 @@ public function getAlbum()
119127

120128
/**
121129
* Get the playtime of the media file.
130+
*
122131
* @return string|null
132+
*
123133
* @throws \getid3_exception
124134
*/
125135
public function getPlaytime()
@@ -129,7 +139,9 @@ public function getPlaytime()
129139

130140
/**
131141
* Get number of seconds of playtime.
142+
*
132143
* @return float
144+
*
133145
* @throws \getid3_exception
134146
*/
135147
public function getPlaytimeSeconds()
@@ -140,8 +152,10 @@ public function getPlaytimeSeconds()
140152

141153
/**
142154
* Get the artwork of the media file.
155+
*
143156
* @param bool $convert_to_jpeg
144157
* @return mixed|string
158+
*
145159
* @throws \getid3_exception
146160
*/
147161
public function getArtwork(bool $convert_to_jpeg = false)
@@ -157,7 +171,9 @@ public function getArtwork(bool $convert_to_jpeg = false)
157171

158172
/**
159173
* Get genres.
174+
*
160175
* @return array
176+
*
161177
* @throws \getid3_exception
162178
*/
163179
public function getGenres()
@@ -167,7 +183,9 @@ public function getGenres()
167183

168184
/**
169185
* Get artist.
186+
*
170187
* @return string|null
188+
*
171189
* @throws \getid3_exception
172190
*/
173191
public function getArtist()
@@ -177,7 +195,9 @@ public function getArtist()
177195

178196
/**
179197
* Get Composer of track.
198+
*
180199
* @return string|null
200+
*
181201
* @throws \getid3_exception
182202
*/
183203
public function getComposer()
@@ -187,7 +207,9 @@ public function getComposer()
187207

188208
/**
189209
* Get Track number on album.
210+
*
190211
* @return string|null
212+
*
191213
* @throws \getid3_exception
192214
*/
193215
public function getTrackNumber()
@@ -197,7 +219,9 @@ public function getTrackNumber()
197219

198220
/**
199221
* Get the copyright info of the track.
222+
*
200223
* @return string|null
224+
*
201225
* @throws \getid3_exception
202226
*/
203227
public function getCopyrightInfo()
@@ -207,6 +231,7 @@ public function getCopyrightInfo()
207231

208232
/**
209233
* @return mixed|null
234+
*
210235
* @throws \getid3_exception
211236
*/
212237
public function getFileFormat()
@@ -216,6 +241,7 @@ public function getFileFormat()
216241

217242
/**
218243
* Convert base64 image to jpeg.
244+
*
219245
* @param $base64_string
220246
* @return mixed
221247
*/

0 commit comments

Comments
 (0)