We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8eed16 commit 0d9b650Copy full SHA for 0d9b650
src/Traits/CanFollow.php
@@ -115,10 +115,10 @@ public function getFollowingCountAttribute()
115
* Return followingCount in a readable format.
116
*
117
* @param integer $precision
118
- * @param string $divisors
+ * @param string|null $divisors
119
* @return int|float|string
120
*/
121
- public function followingCountReadable(int $precision = 1, string $divisors = null)
+ public function followingCountReadable(int $precision = 1, ?string $divisors = null)
122
{
123
return Interaction::numberToReadable($this->followingCount(), $precision, $divisors);
124
}
0 commit comments