Remove extra spaces before closing parentheses in src/
This commit is contained in:
@@ -111,7 +111,7 @@ class SyslogLogger extends AbstractLogger
|
||||
}
|
||||
|
||||
/**
|
||||
* Maps the LogLevel (@see LogLevel ) to a SysLog priority (@see http://php.net/manual/en/function.syslog.php#refsect1-function.syslog-parameters )
|
||||
* Maps the LogLevel (@see LogLevel) to a SysLog priority (@see http://php.net/manual/en/function.syslog.php#refsect1-function.syslog-parameters)
|
||||
*
|
||||
* @param string $level A LogLevel
|
||||
*
|
||||
|
||||
@@ -380,7 +380,7 @@ class Network
|
||||
/// @TODO Really suppress function outcomes? Why not find them + debug them?
|
||||
$h = @parse_url($url);
|
||||
|
||||
if (!empty($h['host']) && (@dns_get_record($h['host'], DNS_A + DNS_CNAME) || filter_var($h['host'], FILTER_VALIDATE_IP) )) {
|
||||
if (!empty($h['host']) && (@dns_get_record($h['host'], DNS_A + DNS_CNAME) || filter_var($h['host'], FILTER_VALIDATE_IP))) {
|
||||
return $url;
|
||||
}
|
||||
|
||||
@@ -406,7 +406,7 @@ class Network
|
||||
$h = substr($addr, strpos($addr, '@') + 1);
|
||||
|
||||
// Concerning the @ see here: https://stackoverflow.com/questions/36280957/dns-get-record-a-temporary-server-error-occurred
|
||||
if ($h && (@dns_get_record($h, DNS_A + DNS_MX) || filter_var($h, FILTER_VALIDATE_IP) )) {
|
||||
if ($h && (@dns_get_record($h, DNS_A + DNS_MX) || filter_var($h, FILTER_VALIDATE_IP))) {
|
||||
return true;
|
||||
}
|
||||
if ($h && @dns_get_record($h, DNS_CNAME + DNS_MX)) {
|
||||
|
||||
@@ -13,7 +13,7 @@ use Psr\Log\LoggerInterface;
|
||||
* A class to store profiling data
|
||||
* It can handle different logging data for specific functions or global performance measures
|
||||
*
|
||||
* It stores the data as log entries (@see LoggerInterface )
|
||||
* It stores the data as log entries (@see LoggerInterface)
|
||||
*/
|
||||
class Profiler implements ContainerInterface
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user