File tree Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " renderforest/sdk-php" ,
33 "description" : " Renderforest SDK for PHP" ,
4- "version" : " 0.5.8 " ,
4+ "version" : " 0.6.0 " ,
55 "homepage" : " https://github.com/renderforest/renderforest-sdk-php" ,
66 "keywords" : [
77 " animation maker" ,
1818 " video maker"
1919 ],
2020 "require" : {
21- "php" : " >=7.2.31 " ,
21+ "php" : " >=8.1.11 " ,
2222 "guzzlehttp/guzzle" : " ^7.0" ,
23- "laminas/laminas-stdlib" : " 3.2.1 " ,
23+ "laminas/laminas-stdlib" : " 3.13.0 " ,
2424 "ext-json" : " *"
2525 },
2626 "autoload" : {
Original file line number Diff line number Diff line change 4343 'userId ' => '1469277 ' ,
4444 'path ' => 'http://techslides.com/demos/samples/sample.mp3 ' ,
4545 'duration ' => 12 ,
46- 'filesize ' => 198658
46+ 'fileSize ' => 198658
4747]);
4848
4949$ projectData
Original file line number Diff line number Diff line change 22
33namespace Renderforest \Base ;
44
5- use Zend \Stdlib \ArraySerializableInterface ;
5+ use Laminas \Stdlib \ArraySerializableInterface ;
66
77/**
88 * Class EntityBase
Original file line number Diff line number Diff line change 22
33namespace Renderforest \Base ;
44
5- use Zend \Stdlib \ArraySerializableInterface ;
5+ use Laminas \Stdlib \ArraySerializableInterface ;
66
77/**
88 * Class CollectionBase
@@ -33,12 +33,12 @@ public function count(): int
3333 return count ($ this ->iteratorItems );
3434 }
3535
36- public function current ()
36+ public function current (): mixed
3737 {
3838 return $ this ->iteratorItems [$ this ->iteratorPosition ];
3939 }
4040
41- public function next ()
41+ public function next (): void
4242 {
4343 ++$ this ->iteratorPosition ;
4444 }
@@ -59,7 +59,7 @@ public function valid(): bool
5959 return isset ($ this ->iteratorItems [$ this ->iteratorPosition ]);
6060 }
6161
62- public function rewind ()
62+ public function rewind (): void
6363 {
6464 $ this ->iteratorPosition = 0 ;
6565 }
Original file line number Diff line number Diff line change 22
33namespace Renderforest \Base ;
44
5- use Zend \Stdlib \ArraySerializableInterface ;
5+ use Laminas \Stdlib \ArraySerializableInterface ;
66
77/**
88 * Class EntityBase
Original file line number Diff line number Diff line change @@ -168,18 +168,18 @@ public function setCurrentScreenId($currentScreenId): ProjectData
168168 }
169169
170170 /**
171- * @return int
171+ * @return float
172172 */
173- public function getDuration (): int
173+ public function getDuration (): float
174174 {
175175 return $ this ->duration ;
176176 }
177177
178178 /**
179- * @param int $duration
179+ * @param float $duration
180180 * @return ProjectData
181181 */
182- private function setDuration (int $ duration ): ProjectData
182+ private function setDuration (float $ duration ): ProjectData
183183 {
184184 $ this ->duration = $ duration ;
185185
You can’t perform that action at this time.
0 commit comments