Skip to content

Commit

Permalink
Merge pull request #26 from 365Werk/analysis-bQlK0w
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
HergenD authored Apr 28, 2021
2 parents 2c6d6ed + 574db02 commit 12032e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/IdentityDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static function all($frontImage = null, $backImage = null)
$mrz = $id->getMrz();
$parsed = $id->getParsedMrz();
$face = $id->getFace();
$faceB64 = ($face)?
$faceB64 = ($face) ?
'data:image/jpg;base64,'.
base64_encode(
$face
Expand All @@ -61,7 +61,7 @@ public static function all($frontImage = null, $backImage = null)
})
->encode()
->encoded
):
) :
null;
$viz = $id->getViz();

Expand Down
4 changes: 2 additions & 2 deletions src/Viz/VizParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ class VizParser extends Viz
'last_name' => null,
];

public function match(array $parsed, string $mrz, string $text) :array
public function match(array $parsed, string $mrz, string $text): array
{
if (!$mrz) {
if (! $mrz) {
return [];
}
$ignore = "\n*\s*";
Expand Down

0 comments on commit 12032e8

Please sign in to comment.