Anahkiasen / underscore-php

A redacted PHP port of Underscore.js with additional functions and goodies – Available for Composer and Laravel
http://anahkiasen.github.com/underscore-php/
1.12k stars 88 forks source link

PHP Doc @return type fix for underscore(..) function #21

Closed epicwhale closed 10 years ago

epicwhale commented 10 years ago

IDE fails to autocomplete as the @return definition is incorrect. (Tested in PHPStorm)

Anahkiasen commented 10 years ago

Thanks !

epicwhale commented 10 years ago

@Anahkiasen what happens in frameworks beyond laravel where this particular file is not loaded? and the underscore(..) function is not available even though composer + autoloading is enabled. As I noticed that the file won't ever be included if its not laravel.

Anahkiasen commented 10 years ago

Let me tweak the composer file so it's included by default.

epicwhale commented 10 years ago

Great. Let me know once done.

Anahkiasen commented 10 years ago

Done on master.