Fixing issue with parameter type hints with namespaces

When using a closure like the following, the type hint should be rewritten to the fully qualified  class name.

```php
use My\Dependency;

function (Dependency $dep) {
};
```

### Expected result:

```php
use My\Dependency;

function (\My\Dependency $dep) {
};
```

### Actual result:
```php
use My\Dependency;

function (Dependency $dep) {
};
```