 
                     @getObjectAvailableMethods(editor, prefix, objectType, setAsInherited)
                 else if matches[0] == "self::"
-                    completions = @getLocalAvailableCompletions(editor,prefix).filter((item) -> item.isStatic)
+                    completions = @getLocalAvailableCompletions(editor).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,prefix) ->

        inline = []
        completions = []
        varPrefix = ''

        #WTF???
        if  prefix.search('self::') or prefix.search('parent::')
            varPrefix = '$'

        for line in editor.buffer.getLines()



        return completions

    createVariableCompletion: (matches) ->
        @createCompletion
            name: "$"+matches[3]
            snippet: "#{matches[3]}${2}"
            isStatic: matches[2] != undefined
            visibility: matches[1]
            type: 'property'
