Skip to content

Commit 6fb500d

Browse files
committed
Strict types update in Changes class
1 parent 9ae5b4c commit 6fb500d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/AbraFlexi/Changes.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Changes extends RO
3131
*
3232
* @return bool
3333
*/
34-
public function enable(): true
34+
public function enable(): bool
3535
{
3636
$this->performRequest('enable.xml', 'POST', 'xml');
3737

@@ -44,7 +44,7 @@ public function enable(): true
4444
*
4545
* @return bool
4646
*/
47-
public function disable()
47+
public function disable(): bool
4848
{
4949
$this->performRequest('disable.xml', 'POST', 'xml');
5050

@@ -68,7 +68,7 @@ public function getStatus(): bool
6868
*
6969
* @return bool Method is disabled for Changes
7070
*/
71-
public function recordExists($data = null): bool
71+
public function recordExists($data): bool
7272
{
7373
return false;
7474
}

0 commit comments

Comments
 (0)