fix format method signature
This commit is contained in:
1 parent
264b4488a6
commit
313159a0fc
1 file changed
+1
-1
@@ -325,7 +325,7 @@ trait Formatting
|
|||||||
* @param string $format
|
* @param string $format
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function format($format)
|
public function format(string $format): string
|
||||||
{
|
{
|
||||||
return $this->date($this->strftime($format));
|
return $this->date($this->strftime($format));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user