Ran PHPCS on NDB_Factory

This fixes all PHP_CodeSniffer errors on NDB_Factory