original_string: public function setForeignKey(string $keyName, int $value): void
  	{
  		if ($this->storage instanceof NetteDatabaseStorage) {
  			$this->storage->setForeignKey($keyName, $value);
  		} elseif ($this->storage instanceof NextrasOrmStorage) {
  			$this->storage->setForeignKey($keyName, $value);
  		} else {
  			throw new InvalidArgumentException('Storage is not database');
  		}
  	}
code: public function setForeignKey(string $keyName, int $value): void
  	{
  		if ($this->storage instanceof NetteDatabaseStorage) {
  			$this->storage->setForeignKey($keyName, $value);
  		} elseif ($this->storage instanceof NextrasOrmStorage) {
  			$this->storage->setForeignKey($keyName, $value);
  		} else {
  			throw new InvalidArgumentException('Storage is not database');
  		}
  	}
code_tokens: public function setForeignKey ( string $ keyName , int $ value ) : void { if ( $ this -> storage instanceof NetteDatabaseStorage ) { $ this -> storage -> setForeignKey ( $ keyName , $ value ) ; } elseif ( $ this -> storage instanceof NextrasOrmStorage ) { $ this -> storage -> setForeignKey ( $ keyName , $ value ) ; } else { throw new InvalidArgumentException ( 'Storage is not database' ) ; } }
docstring: Nastavi cizi klic
  @param string $keyName
  @param int $value
docstring_tokens: Nastavi cizi klic