@@ -685,7 +685,7 @@ public function setDataValue(string $columnName, $value): bool
685685 // no break
686686 default :
687687 if (\is_object ($ value )) {
688- switch (\get_class ( $ value) ) {
688+ switch ($ value::class ) {
689689 case 'DateTime ' :
690690 $ columnInfo = $ this ->getColumnInfo ($ columnName );
691691
@@ -1038,7 +1038,7 @@ public function addDefaultUrlParams(string $urlRaw)
10381038 public function performRequest (
10391039 string $ urlSuffix = '' ,
10401040 string $ method = 'GET ' ,
1041- $ format = null
1041+ $ format = null ,
10421042 ) {
10431043 $ this ->rowCount = null ;
10441044 $ this ->responseStats = [];
@@ -1880,8 +1880,6 @@ public function getAllFromAbraFlexi($conditions = null, $indexBy = null)
18801880 * @param array<string|string> $conditions
18811881 *
18821882 * @throws \InvalidArgumentException - when requested field does not support summmarization
1883- *
1884- * @return array
18851883 */
18861884 public function getSumsFromAbraFlexi (
18871885 array $ fields ,
@@ -1896,8 +1894,8 @@ public function getSumsFromAbraFlexi(
18961894 $ conditions ['fields ' ] = implode (', ' , array_unique ($ fields ));
18971895
18981896 $ summaryRaw = $ this ->getFlexiData ('$sum ' , $ conditions );
1899-
1900- return array_key_exists ('sum ' , $ summaryRaw ) ? $ summaryRaw ['sum ' ] : [];
1897+
1898+ return \ array_key_exists ('sum ' , $ summaryRaw ) ? $ summaryRaw ['sum ' ] : [];
19011899 }
19021900
19031901 /**
@@ -1912,7 +1910,7 @@ public function getSumsFromAbraFlexi(
19121910 public function getColumnsFromAbraFlexi (
19131911 $ columnsList ,
19141912 $ conditions = [],
1915- $ indexBy = null
1913+ $ indexBy = null ,
19161914 ) {
19171915 $ detail = 'full ' ;
19181916
@@ -2759,7 +2757,7 @@ public function getInFormat(
27592757 string $ format ,
27602758 $ reportName = null ,
27612759 $ lang = null ,
2762- $ sign = false
2760+ $ sign = false ,
27632761 ) {
27642762 $ response = null ;
27652763 $ formatBackup = $ this ->format ;
@@ -2820,7 +2818,7 @@ public function downloadInFormat(
28202818 $ destDir = './ ' ,
28212819 $ reportName = null ,
28222820 $ lang = null ,
2823- $ sign = false
2821+ $ sign = false ,
28242822 ) {
28252823 $ downloadTo = $ destDir .$ this ->getEvidence ().'_ ' .str_replace (['/ ' , ' ' , ': ' ], '_ ' , (string ) $ this ->getRecordIdent ()).'. ' .$ format ;
28262824 $ downloaded = $ this ->getInFormat ($ format , $ reportName , $ lang , $ sign );
0 commit comments