it was changed from an int recently, but any existing usage of the hook will still be expecting an int

```
     * @param string $path
     * @param int $depth
     * @return array
     */
    public function getNodesForPath($path, $depth = 0) {

        if ($depth!=0) $depth = 1;

        $path = rtrim($path,'/');

        // This event allows people to intercept these requests early on in the
        // process.
        //
        // We're not doing anything with the result, but this can be helpful to
        // pre-fetch certain expensive live properties.
        $this->broadCastEvent('beforeGetNodesForPath', array($path, $depth));

        $parentNode = $this->tree->getNodeForPath($path);

        $nodes = array(
            $path => $parentNode
        );
        if ($depth==1 && $parentNode instanceof ICollection) {
            foreach($this->tree->getChildren($path) as $childNode)
                $nodes[$path . '/' . $childNode->getName()] = $childNode;
        }
        return $nodes;
    }
```