@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | 'colors' => [ |
114 | 114 | 'background' => [255, 255, 255], |
115 | 115 | 'border' => [153, 200, 255], |
116 | - 'text' => [51, 153, 255], |
|
116 | + 'text' => [51, 153, 255], |
|
117 | 117 | 'grid' => [153, 200, 255] |
118 | 118 | ] |
119 | 119 | ]; |
@@ -456,7 +456,7 @@ discard block |
||
456 | 456 | private function getImageResource() |
457 | 457 | { |
458 | 458 | if (version_compare(phpversion(), '8.0.0', '>=')) { |
459 | - if (!$this->im instanceof GdImage) { |
|
459 | + if (!$this->im instanceof GdImage) { |
|
460 | 460 | // @codeCoverageIgnoreStart |
461 | 461 | throw new RuntimeException( |
462 | 462 | 'Cannot create image resource.' |
@@ -464,7 +464,7 @@ discard block |
||
464 | 464 | // @codeCoverageIgnoreEnd |
465 | 465 | } |
466 | 466 | } else { |
467 | - if (!is_resource($this->im)) { |
|
467 | + if (!is_resource($this->im)) { |
|
468 | 468 | |
469 | 469 | // @codeCoverageIgnoreStart |
470 | 470 | throw new RuntimeException( |
@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | $masked = implode('.', $tmp); |
252 | 252 | |
253 | 253 | } else { |
254 | - $masked = str_repeat('*', strlen($str) - 6) . substr($str, -6); |
|
254 | + $masked = str_repeat('*', strlen($str) - 6) . substr($str, -6); |
|
255 | 255 | } |
256 | 256 | |
257 | 257 | return $masked; |
@@ -783,7 +783,7 @@ discard block |
||
783 | 783 | */ |
784 | 784 | function create_session_id(): string |
785 | 785 | { |
786 | - $hash = rand() . 'ej;1zj47vu;3e;31g642941ek62au/41' . time(); |
|
786 | + $hash = rand() . 'ej;1zj47vu;3e;31g642941ek62au/41' . time(); |
|
787 | 787 | |
788 | 788 | return md5($hash); |
789 | 789 | } |