fix typo
removed empty lines
setPathDepth() returns boolean (and not $this)
fix test formating + updated license text
updated README.md fix #2