Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed May 20, 2017
1 parent ac7ec16 commit 819c11f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions classes/DefinitionItem.php
Expand Up @@ -100,7 +100,7 @@ public static function initFromArray($items)
* Returns a list of registered item types
* @return array Returns an array of registered item types
*/
public function getTypeOptions($keyValue = null)
public function getTypeOptions()
{
$result = ['url' => 'URL'];
$apiResult = Event::fire('pages.menuitem.listTypes');
Expand All @@ -120,12 +120,12 @@ public function getTypeOptions($keyValue = null)
return $result;
}

public function getCmsPageOptions($keyValue = null)
public function getCmsPageOptions()
{
return []; // CMS Pages are loaded client-side
}

public function getReferenceOptions($keyValue = null)
public function getReferenceOptions()
{
return []; // References are loaded client-side
}
Expand Down

0 comments on commit 819c11f

Please sign in to comment.