Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 1129 → Rev 1130

/trunk/plugins/viathinksoft/database/pdo/OIDplusQueryResultPDO.class.php
24,11 → 24,18
// phpcs:enable PSR1.Files.SideEffects
 
class OIDplusQueryResultPDO extends OIDplusQueryResult {
/**
* @var bool
*/
protected $no_resultset;
 
/**
* @var mixed
*/
protected $res;
 
/**
* @param $res
* @param mixed $res
*/
public function __construct($res) {
$this->no_resultset = is_bool($res);
115,10 → 122,10
}
 
/**
* @param $ary
* @param array $ary
* @return \stdClass
*/
private static function array_to_stdobj($ary) {
private static function array_to_stdobj(array $ary): \stdClass {
$obj = new \stdClass;
foreach ($ary as $name => $val) {
$obj->$name = $val;