* [ADD] Default permissions rewritten to make a more generic approach. Now it can manage multiple items/modules default values from the same view, so it's called Items Preset.

* [MOD] Code refactoring
This commit is contained in:
nuxsmin
2018-08-30 16:19:18 +02:00
parent 7ceb3afe56
commit 2fc71e87dc
52 changed files with 1447 additions and 933 deletions

View File

@@ -87,11 +87,12 @@ final class QueryResult
}
/**
* @return mixed
* @param string $class
*
* @return mixed|null
*/
public function getData()
public function getData(string $class = null)
{
// FIXME
if ($this->numRows === 1) {
return $this->data[0];
}