Skip to content

Commit

Permalink
Removed return statement, updated PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
demis-palma committed Apr 20, 2017
1 parent 438336d commit 1d47769
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,14 @@ class AssociationsViewAssociation extends JViewLegacy
* @return void
*
* @since 3.7.0
* @throws Exception
*/
public function display($tpl = null)
{
// Check for errors.
if (count($errors = $this->get('Errors')))
{
throw new Exception(implode("\n", $errors), 500);

return false;
}

$this->app = JFactory::getApplication();
Expand Down

0 comments on commit 1d47769

Please sign in to comment.