Skip to content

Commit

Permalink
Fixes method visibility
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Apr 3, 2018
1 parent a8919d1 commit 29c1a63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Casts/DateTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ protected function isValid($value)
*
* @return string
*/
public function fromCast($value)
protected function fromCast($value)
{
return $value->format('Y-m-d');
}
Expand Down
2 changes: 1 addition & 1 deletion src/Casts/Money.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ protected function isValid($value)
*
* @return int
*/
public function fromCast($value)
protected function fromCast($value)
{
return $value->getAmount();
}
Expand Down
2 changes: 1 addition & 1 deletion src/Casts/Ringgit.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ protected function isValid($value)
*
* @return int
*/
public function fromCast($value)
protected function fromCast($value)
{
return $value->getAmount();
}
Expand Down

0 comments on commit 29c1a63

Please sign in to comment.