Conditions | 5 |
Paths | 5 |
Total Lines | 20 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | private function isMatchMeNameSpaceInCheckEntry(string $matchMeInData, string $checkEntry): bool |
||
32 | { |
||
33 | if ($matchMeInData === $checkEntry) { |
||
34 | return true; |
||
35 | } |
||
36 | |||
37 | $pos = \strpos($matchMeInData, $checkEntry); |
||
38 | if ($pos === false) { |
||
39 | return false; |
||
40 | } |
||
41 | |||
42 | if (\strlen($checkEntry) > \strlen($matchMeInData)) { |
||
43 | return false; |
||
44 | } |
||
45 | |||
46 | return true; |
||
47 | } |
||
48 | |||
49 | private function stripQueueSlash(string $token): string |
||
50 | { |
||
51 | $tokenOne = ltrim($token, '\\'); |
||
57 |