                     inline = []
 
             if matches = line.match(propertyRegex)
-                completions.push(@createVariableCompletion(matches, varPrefix))
+                completions.push(@createVariableCompletion(matches))
             else if matches = line.match(constantRegex)
                 completions.push(@createConstantCompletion matches)
             else if matches = line.match(methodRegex) || ma


                    @getObjectAvailableMethods(editor, prefix, objectType, setAsInherited)
                else if matches[0] == "self::"
                    completions = @getLocalAvailableCompletions(editor,prefix).filter((item) -> item.isStatic)
                    resolve(completions)
            else if objectType = @isKnownObject(editor, bufferPosition, prefix)
                @getObjectAvailableMethods(editor, prefix, objectType, resolve)


        prefix.match(/(\$this->|parent::|self::)/)

    getLocalAvailableCompletions: (editor) ->

        inline = []
        completions = []

        for line in editor.buffer.getLines()

