Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

Commit

Permalink
Updated to 1.0.8 version
Browse files Browse the repository at this point in the history
  • Loading branch information
josantonius committed Jun 2, 2017
1 parent 5e665ab commit 17461f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/App/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,16 +240,16 @@ private function _runRoutes() {
* @param string $option → option name or options array
* @param mixed $value → value/s
*
* @return
* @return mixed
*/
public function addOption($option, $value) {
public static function addOption($option, $value) {

if (!is_array($value)) {

return self::$settings[self::$id][$option] = $value;
}

if (array_key_exists($option, $data)) {
if (array_key_exists($option, $value)) {

self::$settings[self::$id][$option] = array_merge_recursive(

Expand Down

0 comments on commit 17461f1

Please sign in to comment.