Skip to content

Commit

Permalink
Merge pull request #169 from pagarme/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiano-mallmann authored Nov 12, 2024
2 parents fcf8741 + 4841670 commit bee6daa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pagarme/ecommerce-module-core",
"description": "Core component for Pagar.me e-commerce platform modules.",
"license": "MIT",
"version": "2.6.1",
"version": "2.7.0",
"authors": [
{
"name":"Open Source Team"
Expand All @@ -12,7 +12,7 @@
"require": {
"php": ">=7.1",
"monolog/monolog": "<3",
"pagarme/pagarmecoreapi": "v5.6.5",
"pagarme/pagarmecoreapi": "v5.6.6",
"ext-json": "*"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Payment/Aggregates/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function setNumber($number)

$this->number = substr($numberWithoutLineBreaks, 0, 15);

if (!empty($this->number) && !is_numeric(trim($this->number))) {
if (empty(trim($this->number))) {
$inputName = $this->i18n->getDashboard('number');
$message = $this->i18n->getDashboard(
"The %s should not be empty!",
Expand Down

0 comments on commit bee6daa

Please sign in to comment.