Sorien / silex-idea-plugin

Idea plugin for Silex Framework - plugin is not compatible with PHPStorm 2016.2
MIT License
26 stars 8 forks source link

Anonymous function parameter resolved incorrectly #34

Closed CarsonF closed 8 years ago

CarsonF commented 9 years ago

$app is resolved to MySqlLock here instead of Sliex\Application

$app['mutex.lock.mysql'] = function ($app) {
    $db = $app['db'];
    return new MySqlLock($db->getUsername(), $db->getPassword(), $db->getHost());
};

This works correctly if wrapped in $app->share()

Sorien commented 9 years ago

i'll try to look at it during next week, I'm trying to finish house reconstruction and so it's kind of difficult to find some free time for this project :/

CarsonF commented 9 years ago

No worries! I assumed you're as busy as I am right now :)

CarsonF commented 9 years ago

I'll pull this down and check it out!

CarsonF commented 9 years ago

@Sorien I was expecting www.sorien.sk/silex-plugin.zip to be updated. Whoops. Would you mind compiling for me?

Sorien commented 9 years ago

it should be updated, I refreshed travis just try to download it again ...

i'm out of pc just now ... i'll build it tomorrow

Sorien commented 8 years ago

i'll close it and release new version in few days if its still present just reopen it, ty