Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c2e134f

Browse filesBrowse files
committed
minor #10701 Made types used by Symfony compatible with the ones of Hack (fabpot)
This PR was merged into the 2.3 branch. Discussion ---------- Made types used by Symfony compatible with the ones of Hack | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a PHP supports several ways to express types: like Boolean/bool or integer/int. Hack only supports one of them, so this PR proposes to use the Hack type to make Symfony a bit more "compatible" with Hack (gradual upgrade ;)). Commits ------- 3c9c10f made phpdoc types consistent with those defined in Hack 0555b7f made types consistent with those defined in Hack
2 parents 5033e7a + 3c9c10f commit c2e134f
Copy full SHA for c2e134f

File tree

Expand file treeCollapse file tree

265 files changed

+720
-720
lines changed
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

265 files changed

+720
-720
lines changed

‎src/Symfony/Bridge/Monolog/Tests/Processor/WebProcessorTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Monolog/Tests/Processor/WebProcessorTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function testUsesRequestServerData()
6060
}
6161

6262
/**
63-
* @param integer $level
63+
* @param int $level
6464
* @param string $message
6565
*
6666
* @return array Record

‎src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Fixtures/php/lazy_service.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Fixtures/php/lazy_service.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct()
3939
* This service is shared.
4040
* This method always returns the same instance of the service.
4141
*
42-
* @param boolean $lazyLoad whether to try lazy-loading the service with a proxy
42+
* @param bool $lazyLoad whether to try lazy-loading the service with a proxy
4343
*
4444
* @return stdClass A stdClass instance.
4545
*/

‎src/Symfony/Bridge/Swiftmailer/DataCollector/MessageDataCollector.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Swiftmailer/DataCollector/MessageDataCollector.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class MessageDataCollector extends DataCollector
3434
* to avoid the creation of these objects when no emails are sent.
3535
*
3636
* @param ContainerInterface $container A ContainerInterface instance
37-
* @param Boolean $isSpool
37+
* @param bool $isSpool
3838
*/
3939
public function __construct(ContainerInterface $container, $isSpool)
4040
{

‎src/Symfony/Bridge/Twig/Extension/CodeExtension.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Twig/Extension/CodeExtension.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public function fileExcerpt($file, $line)
157157
* Formats a file path.
158158
*
159159
* @param string $file An absolute file path
160-
* @param integer $line The line number
160+
* @param int $line The line number
161161
* @param string $text Use this text for the link rather than the file path
162162
*
163163
* @return string
@@ -186,7 +186,7 @@ public function formatFile($file, $line, $text = null)
186186
* Returns the link for a given file/line pair.
187187
*
188188
* @param string $file An absolute file path
189-
* @param integer $line The line number
189+
* @param int $line The line number
190190
*
191191
* @return string A link of false
192192
*/

‎src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ protected function resolveServiceDefinition($serviceId)
412412
* Renders list of tagged services grouped by tag
413413
*
414414
* @param OutputInterface $output
415-
* @param Boolean $showPrivate
415+
* @param bool $showPrivate
416416
*/
417417
protected function outputTags(OutputInterface $output, $showPrivate = false)
418418
{

‎src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Controller extends ContainerAware
3838
*
3939
* @param string $route The name of the route
4040
* @param mixed $parameters An array of parameters
41-
* @param Boolean|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
41+
* @param bool|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
4242
*
4343
* @return string The generated URL
4444
*
@@ -70,7 +70,7 @@ public function forward($controller, array $path = array(), array $query = array
7070
* Returns a RedirectResponse to the given URL.
7171
*
7272
* @param string $url The URL to redirect to
73-
* @param integer $status The status code to use for the Response
73+
* @param int $status The status code to use for the Response
7474
*
7575
* @return RedirectResponse
7676
*/

‎src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ class RedirectController extends ContainerAware
3636
*
3737
* @param Request $request The request instance
3838
* @param string $route The route name to redirect to
39-
* @param Boolean $permanent Whether the redirection is permanent
40-
* @param Boolean|array $ignoreAttributes Whether to ignore attributes or an array of attributes to ignore
39+
* @param bool $permanent Whether the redirection is permanent
40+
* @param bool|array $ignoreAttributes Whether to ignore attributes or an array of attributes to ignore
4141
*
4242
* @return Response A Response instance
4343
*
@@ -72,10 +72,10 @@ public function redirectAction(Request $request, $route, $permanent = false, $ig
7272
*
7373
* @param Request $request The request instance
7474
* @param string $path The absolute path or URL to redirect to
75-
* @param Boolean $permanent Whether the redirect is permanent or not
75+
* @param bool $permanent Whether the redirect is permanent or not
7676
* @param string|null $scheme The URL scheme (null to keep the current one)
77-
* @param integer|null $httpPort The HTTP port (null to keep the current one for the same scheme or the configured port in the container)
78-
* @param integer|null $httpsPort The HTTPS port (null to keep the current one for the same scheme or the configured port in the container)
77+
* @param int |null $httpPort The HTTP port (null to keep the current one for the same scheme or the configured port in the container)
78+
* @param int |null $httpsPort The HTTPS port (null to keep the current one for the same scheme or the configured port in the container)
7979
*
8080
* @return Response A Response instance
8181
*

‎src/Symfony/Bundle/FrameworkBundle/Controller/TemplateController.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Controller/TemplateController.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class TemplateController extends ContainerAware
2727
* @param string $template The template name
2828
* @param int|null $maxAge Max age for client caching
2929
* @param int|null $sharedAge Max age for shared (proxy) caching
30-
* @param Boolean|null $private Whether or not caching should apply for client caches only
30+
* @param bool|null $private Whether or not caching should apply for client caches only
3131
*
3232
* @return Response A Response instance
3333
*/

‎src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function __construct(HttpKernelInterface $kernel, $cacheDir = null)
4646
* Forwards the Request to the backend and returns the Response.
4747
*
4848
* @param Request $request A Request instance
49-
* @param Boolean $raw Whether to catch exceptions or not
49+
* @param bool $raw Whether to catch exceptions or not
5050
* @param Response $entry A Response instance (the stale entry if present, null otherwise)
5151
*
5252
* @return Response A Response instance

‎src/Symfony/Bundle/FrameworkBundle/Templating/GlobalVariables.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Templating/GlobalVariables.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,6 @@ public function getEnvironment()
112112
*/
113113
public function getDebug()
114114
{
115-
return (Boolean) $this->container->getParameter('kernel.debug');
115+
return (bool) $this->container->getParameter('kernel.debug');
116116
}
117117
}

‎src/Symfony/Bundle/FrameworkBundle/Templating/Helper/CodeHelper.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Templating/Helper/CodeHelper.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public function fileExcerpt($file, $line)
151151
* Formats a file path.
152152
*
153153
* @param string $file An absolute file path
154-
* @param integer $line The line number
154+
* @param int $line The line number
155155
* @param string $text Use this text for the link rather than the file path
156156
*
157157
* @return string
@@ -180,7 +180,7 @@ public function formatFile($file, $line, $text = null)
180180
* Returns the link for a given file/line pair.
181181
*
182182
* @param string $file An absolute file path
183-
* @param integer $line The line number
183+
* @param int $line The line number
184184
*
185185
* @return string A link of false
186186
*/

‎src/Symfony/Bundle/FrameworkBundle/Templating/Helper/RouterHelper.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Templating/Helper/RouterHelper.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(UrlGeneratorInterface $router)
3838
*
3939
* @param string $name The name of the route
4040
* @param mixed $parameters An array of parameters
41-
* @param Boolean|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
41+
* @param bool|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
4242
*
4343
* @return string The generated URL
4444
*

‎src/Symfony/Bundle/FrameworkBundle/Templating/Loader/FilesystemLoader.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Templating/Loader/FilesystemLoader.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function load(TemplateReferenceInterface $template)
5757
* Returns true if the template is still fresh.
5858
*
5959
* @param TemplateReferenceInterface $template The template name as an array
60-
* @param integer $time The last modification time of the cached template (timestamp)
60+
* @param int $time The last modification time of the cached template (timestamp)
6161
*
6262
* @return Boolean
6363
*/

‎src/Symfony/Bundle/FrameworkBundle/Templating/Loader/TemplateLocator.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Templating/Loader/TemplateLocator.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected function getCacheKey($template)
5656
*
5757
* @param TemplateReferenceInterface $template A template
5858
* @param string $currentPath Unused
59-
* @param Boolean $first Unused
59+
* @param bool $first Unused
6060
*
6161
* @return string The full path for the file
6262
*

‎src/Symfony/Bundle/SecurityBundle/Templating/Helper/LogoutUrlHelper.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/Templating/Helper/LogoutUrlHelper.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function getLogoutUrl($key)
8282
* Generates the logout URL for the firewall.
8383
*
8484
* @param string $key The firewall key
85-
* @param Boolean|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
85+
* @param bool|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
8686
*
8787
* @return string The logout URL
8888
*

‎src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function showAction(Request $request, FlattenException $exception, DebugL
6464
}
6565

6666
/**
67-
* @param integer $startObLevel
67+
* @param int $startObLevel
6868
*
6969
* @return string
7070
*/
@@ -86,8 +86,8 @@ protected function getAndCleanOutputBuffering($startObLevel)
8686
/**
8787
* @param Request $request
8888
* @param string $format
89-
* @param integer $code An HTTP response status code
90-
* @param Boolean $debug
89+
* @param int $code An HTTP response status code
90+
* @param bool $debug
9191
*
9292
* @return TemplateReference
9393
*/

‎src/Symfony/Bundle/WebProfilerBundle/EventListener/WebDebugToolbarListener.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/EventListener/WebDebugToolbarListener.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ class WebDebugToolbarListener implements EventSubscriberInterface
4141
public function __construct(\Twig_Environment $twig, $interceptRedirects = false, $mode = self::ENABLED, $position = 'bottom')
4242
{
4343
$this->twig = $twig;
44-
$this->interceptRedirects = (Boolean) $interceptRedirects;
45-
$this->mode = (integer) $mode;
44+
$this->interceptRedirects = (bool) $interceptRedirects;
45+
$this->mode = (int) $mode;
4646
$this->position = $position;
4747
}
4848

‎src/Symfony/Component/BrowserKit/Client.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/BrowserKit/Client.php
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,19 @@ public function __construct(array $server = array(), History $history = null, Co
7070
/**
7171
* Sets whether to automatically follow redirects or not.
7272
*
73-
* @param Boolean $followRedirect Whether to follow redirects
73+
* @param bool $followRedirect Whether to follow redirects
7474
*
7575
* @api
7676
*/
7777
public function followRedirects($followRedirect = true)
7878
{
79-
$this->followRedirects = (Boolean) $followRedirect;
79+
$this->followRedirects = (bool) $followRedirect;
8080
}
8181

8282
/**
8383
* Sets the maximum number of requests that crawler can follow.
8484
*
85-
* @param integer $maxRedirects
85+
* @param int $maxRedirects
8686
*/
8787
public function setMaxRedirects($maxRedirects)
8888
{
@@ -93,7 +93,7 @@ public function setMaxRedirects($maxRedirects)
9393
/**
9494
* Sets the insulated flag.
9595
*
96-
* @param Boolean $insulated Whether to insulate the requests or not
96+
* @param bool $insulated Whether to insulate the requests or not
9797
*
9898
* @throws \RuntimeException When Symfony Process Component is not installed
9999
*
@@ -107,7 +107,7 @@ public function insulate($insulated = true)
107107
// @codeCoverageIgnoreEnd
108108
}
109109

110-
$this->insulated = (Boolean) $insulated;
110+
$this->insulated = (bool) $insulated;
111111
}
112112

113113
/**
@@ -287,7 +287,7 @@ public function submit(Form $form, array $values = array())
287287
* @param array $files The files
288288
* @param array $server The server parameters (HTTP headers are referenced with a HTTP_ prefix as PHP does)
289289
* @param string $content The raw body data
290-
* @param Boolean $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload())
290+
* @param bool $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload())
291291
*
292292
* @return Crawler
293293
*
@@ -601,7 +601,7 @@ protected function getAbsoluteUri($uri)
601601
* Makes a request from a Request object directly.
602602
*
603603
* @param Request $request A Request instance
604-
* @param Boolean $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload())
604+
* @param bool $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload())
605605
*
606606
* @return Crawler
607607
*/

‎src/Symfony/Component/BrowserKit/Cookie.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/BrowserKit/Cookie.php
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ class Cookie
5353
* @param string $expires The time the cookie expires
5454
* @param string $path The path on the server in which the cookie will be available on
5555
* @param string $domain The domain that the cookie is available
56-
* @param Boolean $secure Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client
57-
* @param Boolean $httponly The cookie httponly flag
58-
* @param Boolean $encodedValue Whether the value is encoded or not
56+
* @param bool $secure Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client
57+
* @param bool $httponly The cookie httponly flag
58+
* @param bool $encodedValue Whether the value is encoded or not
5959
*
6060
* @api
6161
*/
@@ -69,11 +69,11 @@ public function __construct($name, $value, $expires = null, $path = null, $domai
6969
$this->rawValue = urlencode($value);
7070
}
7171
$this->name = $name;
72-
$this->expires = null === $expires ? null : (integer) $expires;
72+
$this->expires = null === $expires ? null : (int) $expires;
7373
$this->path = empty($path) ? '/' : $path;
7474
$this->domain = $domain;
75-
$this->secure = (Boolean) $secure;
76-
$this->httponly = (Boolean) $httponly;
75+
$this->secure = (bool) $secure;
76+
$this->httponly = (bool) $httponly;
7777
}
7878

7979
/**

‎src/Symfony/Component/BrowserKit/CookieJar.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/BrowserKit/CookieJar.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public function all()
201201
* Returns not yet expired cookie values for the given URI.
202202
*
203203
* @param string $uri A URI
204-
* @param Boolean $returnsRawValue Returns raw value or urldecoded value
204+
* @param bool $returnsRawValue Returns raw value or urldecoded value
205205
*
206206
* @return array An array of cookie values
207207
*/

‎src/Symfony/Component/BrowserKit/Response.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/BrowserKit/Response.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Response
3131
* then the value is an array of all the values.
3232
*
3333
* @param string $content The content of the response
34-
* @param integer $status The response status code
34+
* @param int $status The response status code
3535
* @param array $headers An array of headers
3636
*
3737
* @api
@@ -117,7 +117,7 @@ public function getHeaders()
117117
* Gets a response header.
118118
*
119119
* @param string $header The header name
120-
* @param Boolean $first Whether to return the first value or all header values
120+
* @param bool $first Whether to return the first value or all header values
121121
*
122122
* @return string|array The first header value if $first is true, an array of values otherwise
123123
*/

‎src/Symfony/Component/ClassLoader/ApcClassLoader.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/ClassLoader/ApcClassLoader.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function __construct($prefix, $decorated)
7979
/**
8080
* Registers this instance as an autoloader.
8181
*
82-
* @param Boolean $prepend Whether to prepend the autoloader or not
82+
* @param bool $prepend Whether to prepend the autoloader or not
8383
*/
8484
public function register($prepend = false)
8585
{

‎src/Symfony/Component/ClassLoader/ClassCollectionLoader.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/ClassLoader/ClassCollectionLoader.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class ClassCollectionLoader
2828
* @param array $classes An array of classes to load
2929
* @param string $cacheDir A cache directory
3030
* @param string $name The cache name prefix
31-
* @param Boolean $autoReload Whether to flush the cache when the cache is stale or not
32-
* @param Boolean $adaptive Whether to remove already declared classes or not
31+
* @param bool $autoReload Whether to flush the cache when the cache is stale or not
32+
* @param bool $adaptive Whether to remove already declared classes or not
3333
* @param string $extension File extension of the resulting file
3434
*
3535
* @throws \InvalidArgumentException When class can't be loaded
@@ -200,7 +200,7 @@ public static function fixNamespaceDeclarations($source)
200200
*/
201201
public static function enableTokenizer($bool)
202202
{
203-
self::$useTokenizer = (Boolean) $bool;
203+
self::$useTokenizer = (bool) $bool;
204204
}
205205

206206
/**

‎src/Symfony/Component/ClassLoader/ClassLoader.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/ClassLoader/ClassLoader.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function addPrefix($prefix, $paths)
103103
/**
104104
* Turns on searching the include for class files.
105105
*
106-
* @param Boolean $useIncludePath
106+
* @param bool $useIncludePath
107107
*/
108108
public function setUseIncludePath($useIncludePath)
109109
{
@@ -124,7 +124,7 @@ public function getUseIncludePath()
124124
/**
125125
* Registers this instance as an autoloader.
126126
*
127-
* @param Boolean $prepend Whether to prepend the autoloader or not
127+
* @param bool $prepend Whether to prepend the autoloader or not
128128
*/
129129
public function register($prepend = false)
130130
{

‎src/Symfony/Component/ClassLoader/MapClassLoader.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/ClassLoader/MapClassLoader.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct(array $map)
3333
/**
3434
* Registers this instance as an autoloader.
3535
*
36-
* @param Boolean $prepend Whether to prepend the autoloader or not
36+
* @param bool $prepend Whether to prepend the autoloader or not
3737
*/
3838
public function register($prepend = false)
3939
{

‎src/Symfony/Component/ClassLoader/UniversalClassLoader.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/ClassLoader/UniversalClassLoader.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class UniversalClassLoader
7070
* Turns on searching the include for class files. Allows easy loading
7171
* of installed PEAR packages
7272
*
73-
* @param Boolean $useIncludePath
73+
* @param bool $useIncludePath
7474
*/
7575
public function useIncludePath($useIncludePath)
7676
{
@@ -229,7 +229,7 @@ public function registerPrefix($prefix, $paths)
229229
/**
230230
* Registers this instance as an autoloader.
231231
*
232-
* @param Boolean $prepend Whether to prepend the autoloader or not
232+
* @param bool $prepend Whether to prepend the autoloader or not
233233
*
234234
* @api
235235
*/

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.