don't actually need a ternary here

This commit is contained in:
clindsay 2019-05-13 10:10:47 -07:00
parent 949430b487
commit 9e0e9a4fed
1 changed files with 1 additions and 1 deletions

View File

@ -150,6 +150,6 @@ class BlogArchiveWidget extends Widget
$this->extend('updateGetArchive', $result);
return $this->NumberToDisplay ? $result->limit($this->NumberToDisplay) : $result;
return $result->limit($this->NumberToDisplay);
}
}