mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-21 14:08:48 -04:00
revert scalar type hints to retain support for PHP < 7.0
This commit is contained in:
parent
fb0c9c595e
commit
f58cbefd1e
2 changed files with 3 additions and 3 deletions
|
@ -136,7 +136,7 @@ class Paste extends AbstractModel
|
|||
* @throws Exception
|
||||
* @return Comment
|
||||
*/
|
||||
public function getComment(string $parentId, string $commentId = '')
|
||||
public function getComment($parentId, $commentId = '')
|
||||
{
|
||||
if (!$this->exists()) {
|
||||
throw new Exception('Invalid data.', 62);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue