Skip to content

Commit 156811d

Browse files
author
Vítězslav Dvořák
committed
update for current ease-core
1 parent cefcaa6 commit 156811d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.openapi-generator/templates/Statementor.mustache

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ class Statementor extends \Ease\Sand
5151
}
5252

5353
if ($scope) {
54-
$this->setScope($scope);
54+
if($this->setScope($scope)){
55+
$this->scope = $scope;
56+
}
5557
}
5658
}
5759

@@ -99,9 +101,6 @@ class Statementor extends \Ease\Sand
99101
return $statements;
100102
}
101103

102-
103-
104-
105104
public function getScopeSymbolic(): string
106105
{
107106
return $this->scope;

lib/Statementor.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ public function __construct(string $accountUuid, string $accountNumber = '', str
5050
}
5151

5252
if ($scope) {
53-
$this->setScope($scope);
53+
if($this->setScope($scope)){
54+
$this->scope = $scope;
55+
}
5456
}
5557
}
5658

0 commit comments

Comments
 (0)