It will look like: "PHP Twitter/ "
public getUserAgent ( ) : string | ||
return | string |
/** * Tests Twitter->getUserAgent() */ public function testGetUserAgent() { $this->twitter->setUserAgent('testing/1.0.0'); $this->assertEquals('PHP Twitter/' . Twitter::VERSION . ' testing/1.0.0', $this->twitter->getUserAgent()); }