We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43d2170 commit d8a71a9Copy full SHA for d8a71a9
src/Conf/CodeTable.php
@@ -36,13 +36,14 @@ public function getRowByCode($code)
36
{
37
$found = array();
38
$codeTable = json_decode($this->client->get($this->urlBase()));
39
- #var_dump($codeTable);
+
40
foreach ($codeTable->row as $row) {
41
if ($row->code == $code) {
42
array_push($found,$row);
43
$count++;
44
}
45
46
47
return($found);
48
49
src/Conf/CodeTables.php
@@ -43,8 +43,7 @@ public function get($code)
*/
public function getCodeTables()
- $this->codeTables = json_decode($this->client->get($this->urlBase()));
- return($this->codeTables);
+ return json_decode($this->client->get($this->urlBase()));
50
/**
0 commit comments