Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
Fixed deprecated message typo lessthanOrEquals -> lessThanOrEquals
  • Loading branch information
Apisathan authored Nov 29, 2023
1 parent 03208c1 commit a4bd133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/ComparisonTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function lessThan(ChronosInterface $dt)
*/
public function lte(ChronosInterface $dt): bool
{
trigger_error('2.5 lte() is deprecated. Use lessthanOrEquals() instead.', E_USER_DEPRECATED);
trigger_error('2.5 lte() is deprecated. Use lessThanOrEquals() instead.', E_USER_DEPRECATED);

return $this->lessThanOrEquals($dt);
}
Expand Down

0 comments on commit a4bd133

Please sign in to comment.