revert scalar type hints to retain support for PHP < 7.0

This commit is contained in:
El RIDO 2019-05-10 22:13:11 +02:00
parent fb0c9c595e
commit f58cbefd1e
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
2 changed files with 3 additions and 3 deletions

View file

@ -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);