You use `$project` only one time. No need to declare it:

`$lastestCommit = $app['sismo']->getProject($slug)->->getLatestCommit();`