Adding php doc-bloc to params and moved slash to $path