Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions php/EE/Model/Option.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Option extends Base {
* @throws \Exception
* @return bool Key set or not
*/
public function set( string $key, string $value ) {
public static function set( string $key, string $value ) {
$existing_key = static::find( $key );

if ( empty( $existing_key ) ) {
Expand All @@ -45,7 +45,7 @@ public function set( string $key, string $value ) {
* @throws \Exception
* @return bool|Option
*/
public function get( string $key ) {
public static function get( string $key ) {
$option = static::find( $key );

return false === $option ? false : $option->value;
Expand Down