StubObject: Use 'self' instead of 'StubObject' (or <ClassName>)
authorDerick Alangi <alangiderick@gmail.com>
Wed, 17 Apr 2019 13:01:17 +0000 (14:01 +0100)
committerDerick Alangi <alangiderick@gmail.com>
Wed, 17 Apr 2019 13:01:17 +0000 (14:01 +0100)
commit98ebedaa6e59cb80276919ef7513e9c7c814a23d
tree84eb95ec77875e3464845814ccc60cd1263766f5
parent8414e3c4d0c2a647f794e1e535e70f3a2abe6eb4
StubObject: Use 'self' instead of 'StubObject' (or <ClassName>)

'self' is only 4 chars (shorter to type) and reduces risk (if class name
is changed) which is very unlikely to break things. PHP replaces self with
the actual class name. Plus we're already using this in our code base.

Change-Id: Ia565ab2e4258d0ac201b14b712d1bc3bfe4e4d94
includes/StubObject.php