Skip to content

Commit

Permalink
findHeading can return null
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbrouwers authored Jun 19, 2019
1 parent ee431a5 commit 90da3cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Requests/WithHeadingFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ trait WithHeadingFinder
* @param string $attribute
* @param string|null $default
*
* @return string
* @return string|null
*/
public function findHeading(string $attribute, string $default = null): string
public function findHeading(string $attribute, string $default = null)
{
// In case attribute is used multiple times, grab last Field.
$field = $this
Expand Down

0 comments on commit 90da3cd

Please sign in to comment.