Changeset 835

Show
Ignore:
Timestamp:
08/15/07 14:03:57 (1 year ago)
Author:
schst
Message:

Replace tabs with spaces

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/ioc/injection/stubBinding.php

    r828 r835  
    134134    public function getInstance() { 
    135135        if ($this->instance != null) { 
    136            return $this->instance; 
     136            return $this->instance; 
    137137        } 
    138138 
     
    142142 
    143143        if ($this->scope === null) { 
    144            if ($this->impl->hasAnnotation('Singleton')) { 
    145                $this->scope = stubBindingScopes::$SINGLETON; 
    146            
     144            if ($this->impl->hasAnnotation('Singleton')) { 
     145                $this->scope = stubBindingScopes::$SINGLETON; 
     146           
    147147        } 
    148148        if ($this->scope != null) { 
     
    206206    public function getKey() { 
    207207        if ($this->name === null) { 
    208            return $this->type; 
     208            return $this->type; 
    209209        } 
    210210        return $this->type . '#' . $this->name; 
    211211    } 
    212  
    213  
    214212} 
    215213?> 
  • trunk/src/main/php/net/stubbles/ioc/injection/stubInjector.php

    r825 r835  
    4545    public function getInstance($type, $name = null) { 
    4646        if (!empty($this->bindings)) { 
    47            $this->updateIndex(); 
     47            $this->updateIndex(); 
    4848        } 
    4949        $binding = $this->getBinding($type, $name); 
  • trunk/src/main/php/net/stubbles/xml/stubDomXMLStreamWriter.php

    r829 r835  
    250250        $messages = array(); 
    251251        foreach ($errors as $error) { 
    252            $messages[] = trim($error->message); 
     252            $messages[] = trim($error->message); 
    253253        } 
    254254        return implode(', ', $messages);