@@ -108,7 +108,7 @@ public function getArchiveModelForQuery($query, $lazy = false, $filename = null)
108108 }
109109 }
110110
111- public function createArchiveRecord ($ assets , $ archiveAsset = null ): ArchiveRecord
111+ public function createArchiveRecord ($ assets , $ archiveAsset = null )
112112 {
113113 $ archive = $ this ->createArchiveRecords ($ assets , $ archiveAsset );
114114 return $ archive ;
@@ -199,7 +199,7 @@ public function createArchiveAsset(ArchiveRecord $archiveRecord)
199199 * @throws \yii\base\InvalidConfigException
200200 * @throws \yii\db\Exception
201201 */
202- private function createArchiveRecords ($ zippedAssets , $ asset , $ archiveRecord = null ): ArchiveRecord
202+ private function createArchiveRecords ($ zippedAssets , $ asset , $ archiveRecord = null )
203203 {
204204 if (!$ archiveRecord instanceof ArchiveRecord) {
205205 $ archiveRecord = new ArchiveRecord ();
@@ -259,7 +259,7 @@ private function getHashForAssets($assets): string
259259 * @param $hash
260260 * @return ArchiveRecord|null
261261 */
262- private function getArchiveRecordByHash ($ hash ): ArchiveRecord
262+ private function getArchiveRecordByHash ($ hash )
263263 {
264264 return ArchiveRecord::findOne (['hash ' => $ hash ]);
265265 }
@@ -269,7 +269,7 @@ private function getArchiveRecordByHash($hash): ArchiveRecord
269269 *
270270 * @param Asset $asset
271271 */
272- public function handleAssetUpdated (Asset $ asset ): void
272+ public function handleAssetUpdated (Asset $ asset )
273273 {
274274 // Get the files this affects and the archives. We're just going to
275275 // delete the asset for the archive to prompt it to regenerate.
0 commit comments