krolow/Attach — pull request #15 by gquental (2012-12-19 01:58:56+00:00)
Title: Adding cast to solve incompatible method error

In PHP 5.4.x there is a strict error saying that the beforeDelete method is incompatible with the parent class. This happens because in the parameters, the parent class has a cast, that the child class didn't had.