File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/Symfony/Component/HttpFoundation Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,8 @@ public static function getInstance()
70
70
/**
71
71
* Resets the singleton instance.
72
72
*/
73
- public static function reset () {
73
+ public static function reset ()
74
+ {
74
75
self ::$ instance = null ;
75
76
}
76
77
Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ public function testGuessExtensionIsBasedOnMimeType()
45
45
$ this ->assertEquals ('gif ' , $ file ->guessExtension ());
46
46
}
47
47
48
- public function testGuessExtensionWithReset () {
48
+ public function testGuessExtensionWithReset ()
49
+ {
49
50
$ file = new File (__DIR__ .'/Fixtures/other-file.example ' );
50
51
$ guesser = $ this ->createMockGuesser ($ file ->getPathname (), 'image/gif ' );
51
52
MimeTypeGuesser::getInstance ()->register ($ guesser );
You can’t perform that action at this time.
0 commit comments