X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fprofiler%2FProfilerSectionOnly.php;h=0ce80876756cc1b440c48edda94c9f866e1063fe;hb=adae996840b9e782f6e14b21c433a83e37c3a74e;hp=1f8d33b1927fb5d5b79dfb1775c3f531e6880e6f;hpb=1a115f50040d1d3d2b72ca4b86c824d47fd23d5b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/profiler/ProfilerSectionOnly.php b/includes/profiler/ProfilerSectionOnly.php old mode 100755 new mode 100644 index 1f8d33b192..0ce8087675 --- a/includes/profiler/ProfilerSectionOnly.php +++ b/includes/profiler/ProfilerSectionOnly.php @@ -35,7 +35,7 @@ class ProfilerSectionOnly extends Profiler { /** @var SectionProfiler */ protected $sprofiler; - public function __construct( array $params = array() ) { + public function __construct( array $params = [] ) { parent::__construct( $params ); $this->sprofiler = new SectionProfiler(); } @@ -83,7 +83,7 @@ class ProfilerSectionOnly extends Profiler { $width = 140; $nameWidth = $width - 65; $format = "%-{$nameWidth}s %6d %9d %9d %9d %9d %7.3f%% %9d"; - $out = array(); + $out = []; $out[] = sprintf( "%-{$nameWidth}s %6s %9s %9s %9s %9s %7s %9s", 'Name', 'Calls', 'Total', 'Min', 'Each', 'Max', '%', 'Mem' );