Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Insight] Unused method, property, variable or parameter #2

Open
dannykopping opened this issue Apr 13, 2014 · 0 comments
Open

[Insight] Unused method, property, variable or parameter #2

dannykopping opened this issue Apr 13, 2014 · 0 comments

Comments

@dannykopping
Copy link
Contributor

in lib/AMF/Deserializer.php, line 27

This options local variable is declared but never used. You should remove it.

     */
    protected $stream;

    public function __construct(Input $stream, $options = AMF_DEFAULT_OPTIONS)
    {
        parent::__construct($stream, $options = AMF_DEFAULT_OPTIONS);
    }

    public function deserialize($forceType = null)
    {
        // regardless of the type being forced, we need to read the first byte

Posted from SensioLabsInsight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant