File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 22
33namespace Eghamat24 \DatabaseRepository \Creators ;
44
5- use Illuminate \Support \Str ;
6- use Eghamat24 \DatabaseRepository \CustomMySqlQueries ;
7-
85class CreatorRedisRepository implements IClassCreator
96{
107 public function __construct (
@@ -38,7 +35,7 @@ public function getClassName(): string
3835
3936 public function getExtendSection (): string
4037 {
41- return " extends RedisRepository " ;
38+ return ' extends RedisRepository ' ;
4239 }
4340
4441 public function createAttributes (): array
@@ -54,9 +51,9 @@ public function createFunctions(): array
5451 return $ functions ;
5552 }
5653
57- public function getConstructRedis (string $ constructStub )
54+ public function getConstructRedis (string $ constructStub ): array | string
5855 {
59- return str_replace (" {{Strategy}} " , $ this ->strategyName , $ constructStub );
56+ return str_replace (' {{Strategy}} ' , $ this ->strategyName , $ constructStub );
6057 }
6158
6259}
You can’t perform that action at this time.
0 commit comments