Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19305af62f | ||
|
|
23485cd0e3 |
@@ -17,5 +17,5 @@ composer require rmphp/kernel:"^1.0"
|
|||||||
Dev version contains the latest changes
|
Dev version contains the latest changes
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
composer require rmphp/kernel:"1.0.x-dev"
|
composer require rmphp/kernel:"1.x-dev"
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class MysqlStorageData {
|
|||||||
/**
|
/**
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function getData() : array {
|
public function getData() : iterable {
|
||||||
if(!empty($this->arrayData)) return $this->arrayData;
|
if(!empty($this->arrayData)) return $this->arrayData;
|
||||||
if(!$this->result) return [];
|
if(!$this->result) return [];
|
||||||
$this->result->data_seek(0);
|
$this->result->data_seek(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user