Skip to content

Commit 2f6ba90

Browse files
authored
Update HitCounterService.php
1 parent 488accc commit 2f6ba90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/HitCounterService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct(IDeviceDetect $dd, HitCounterRepository $hcr, $conf
3535

3636
}
3737

38-
public function create(HitCounterModel $model, string $entityClass = HitCounter::class): HitCounter
38+
public function create(HitCounterModel $model, string $entityClass = HitCounter::class)
3939
{
4040
$dto = (new HitCounterModelDtoAssembler())->writeDto($model);//dto
4141
$hit = (new HitCounterDtoAssembler($entityClass))->readDto($dto);
@@ -143,4 +143,4 @@ public static function defaultNameCookieMark()
143143
return Inflector::camel2id(StringHelper::basename(__CLASS__));
144144
}
145145

146-
}
146+
}

0 commit comments

Comments
 (0)