Skip to content

Commit 0e578c4

Browse files
committed
v3.3.0 release
1 parent 23a0e12 commit 0e578c4

File tree

5 files changed

+26
-9
lines changed

5 files changed

+26
-9
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"ext-json": "*",
1919
"ext-curl": "*",
2020
"ext-gettext": "*",
21-
"vitexsoftware/ease-core": "^1.44"
21+
"vitexsoftware/ease-core": "^1.45"
2222
},
2323
"autoload": {
2424
"psr-4": {

debian/changelog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
php-spojenet-abraflexi (3.3.0) UNRELEASED; urgency=medium
1+
php-spojenet-abraflexi (3.3.0) experimental; urgency=medium
22

33
* Even more strict types
44

5-
-- vitex <info@vitexsoftware.cz> Thu, 14 Nov 2024 16:59:56 +0100
5+
-- vitex <info@vitexsoftware.cz> Sun, 17 Nov 2024 13:46:04 +0100
66

77
php-spojenet-abraflexi (3.2.0.225) experimental; urgency=medium
88

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Priority: optional
77
Homepage: https://github.com/Spoje-NET/php-abraflexi
88

99
Package: php-spojenet-abraflexi
10-
Depends: ${misc:Depends}, php-curl, php-xml, php-vitexsoftware-ease-core, composer
10+
Depends: ${misc:Depends}, php-curl, php-xml, php-vitexsoftware-ease-core (>=1.45), composer
1111
Provides: php-abraflexi
1212
Conflicts: flexipeehp
1313
Suggests: abraflexi-client-config,abraflexi-client,abraflexi-contract-invoices,abraflexi-dark-gui,abraflexi-digest,abraflexi-matcher,abraflexi-reminder,abraflexi-server,abraflexi-server-backup,abraflexi-tools,multi-abraflexi-setup,abraflexi-mailer,php-vitexsoftware-ease-bootstrap4-widgets-abraflexi,php-vitexsoftware-abraflexi-bricks

src/AbraFlexi/Adresar.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public function getAnyPhoneNumber(string $purpose = '')
193193
*
194194
* @param Adresar|int|string $address
195195
*
196-
* @return array bank account details
196+
* @return array<string,string> bank account details
197197
*/
198198
public function getBankAccountNumber($address = null)
199199
{
@@ -212,6 +212,11 @@ public function getEmail(): string
212212
return $this->getNotificationEmailAddress();
213213
}
214214

215+
/**
216+
* Get Addressbook Item ID.
217+
*
218+
* @return array<string,string>
219+
*/
215220
#[\Override]
216221
public function getSumFromAbraFlexi($conditions = []): array
217222
{

src/AbraFlexi/Evidence.php

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,21 @@
2222
*/
2323
class Evidence extends Sand
2424
{
25-
public RO $engine = null;
25+
public RO $engine;
26+
/**
27+
* Conditions for data selection.
28+
*
29+
* @var array<string,string>
30+
*/
2631
public array $conditions = [];
2732

33+
/**
34+
* Evidence helper.
35+
*
36+
* @param RO $engine
37+
* @param array<string,string> $conditions
38+
*/
39+
2840
public function __construct(RO $engine, array $conditions = [])
2941
{
3042
$this->engine = $engine;
@@ -34,7 +46,7 @@ public function __construct(RO $engine, array $conditions = [])
3446
/**
3547
* Array of objects in eveidence.
3648
*
37-
* @return array
49+
* @return array<string,string>
3850
*/
3951
public function getEvidenceData()
4052
{
@@ -45,9 +57,9 @@ public function getEvidenceData()
4557
}
4658

4759
/**
48-
* Array of objects in eveidence.
60+
* Array of objects in evidence.
4961
*
50-
* @return RO[]
62+
* @return array<int,RO>
5163
*/
5264
public function getEvidenceObjects()
5365
{

0 commit comments

Comments
 (0)