Skip to content

Commit 6e1df5d

Browse files
DarkaOnLineStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 904bc84 commit 6e1df5d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/ExpirationDateValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ protected function setYear($year)
3838
$year = trim($year);
3939

4040
if (strlen($year) == 2) {
41-
$year = substr(date('Y'), 0, 2) . $year;
41+
$year = substr(date('Y'), 0, 2).$year;
4242
}
4343

4444
$this->year = $year;

tests/Unit/CardExpirationTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ public function it_validates_two_digits_year_format()
138138
$this->assertTrue($validator->passes());
139139
}
140140

141-
142141
/**
143142
* @param string $year
144143
*

0 commit comments

Comments
 (0)