Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
ConsoleTVs authored and StyleCIBot committed Mar 28, 2019
1 parent 9f12bea commit 4057cf9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Classes/BaseChart.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class BaseChart
* @var array
*/
public $scriptAttributes = [
"type" => "text/javascript"
'type' => 'text/javascript',
];

/**
Expand Down Expand Up @@ -470,6 +470,7 @@ public function api()
*
* @param string $key
* @param string $value
*
* @return self
*/
public function setScriptAttribute(string $key, string $value)
Expand All @@ -486,7 +487,7 @@ public function setScriptAttribute(string $key, string $value)
*/
public function displayScriptAttributes(): string
{
$result = "";
$result = '';
foreach ($this->scriptAttributes as $key => $value) {
echo " {$key}=\"{$value}\"";
}
Expand Down

0 comments on commit 4057cf9

Please sign in to comment.