[ticket/14180] Use unix line endings in type_foo

PHPBB3-14180
This commit is contained in:
Marc Alexander 2015-09-20 10:05:23 +02:00
parent 9df76ac987
commit 7f3dfde163

View file

@ -1,31 +1,31 @@
<?php <?php
/** /**
* *
* This file is part of the phpBB Forum Software package. * This file is part of the phpBB Forum Software package.
* *
* @copyright (c) phpBB Limited <https://www.phpbb.com> * @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0) * @license GNU General Public License, version 2 (GPL-2.0)
* *
* For full copyright and license information, please see * For full copyright and license information, please see
* the docs/CREDITS.txt file. * the docs/CREDITS.txt file.
* *
*/ */
namespace phpbb\files\types; namespace phpbb\files\types;
class foo extends \phpbb\files\types\remote class foo extends \phpbb\files\types\remote
{ {
static public $tempnam_path; static public $tempnam_path;
} }
function tempnam($one, $two) function tempnam($one, $two)
{ {
if (empty(foo::$tempnam_path)) if (empty(foo::$tempnam_path))
{ {
return \tempnam($one, $two); return \tempnam($one, $two);
} }
else else
{ {
return foo::$tempnam_path; return foo::$tempnam_path;
} }
} }