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 2
2
3
3
namespace Eghamat24 \DatabaseRepository \Creators ;
4
4
5
- use Illuminate \Support \Str ;
6
- use Eghamat24 \DatabaseRepository \CustomMySqlQueries ;
7
-
8
5
class CreatorRedisRepository implements IClassCreator
9
6
{
10
7
public function __construct (
@@ -38,7 +35,7 @@ public function getClassName(): string
38
35
39
36
public function getExtendSection (): string
40
37
{
41
- return " extends RedisRepository " ;
38
+ return ' extends RedisRepository ' ;
42
39
}
43
40
44
41
public function createAttributes (): array
@@ -54,9 +51,9 @@ public function createFunctions(): array
54
51
return $ functions ;
55
52
}
56
53
57
- public function getConstructRedis (string $ constructStub )
54
+ public function getConstructRedis (string $ constructStub ): array | string
58
55
{
59
- return str_replace (" {{Strategy}} " , $ this ->strategyName , $ constructStub );
56
+ return str_replace (' {{Strategy}} ' , $ this ->strategyName , $ constructStub );
60
57
}
61
58
62
59
}
You can’t perform that action at this time.
0 commit comments