Update Casper.php

for extends class