Skip to content

Commit d2fcd6c

Browse files
tzichippison
authored andcommitted
Shorter PHP doc blocks (#24200)
1 parent 0898168 commit d2fcd6c

219 files changed

Lines changed: 0 additions & 435 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

core/API/DataTableGenericFilter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ class DataTableGenericFilter
3535
private $request;
3636

3737
/**
38-
*
39-
*
4038
* @param $request
4139
*/
4240
public function __construct($request, $report)

core/API/DataTableManipulator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ abstract class DataTableManipulator
3838
protected $apiMethodForSubtable;
3939

4040
/**
41-
*
42-
*
4341
* @param bool $apiModule
4442
* @param bool $apiMethod
4543
* @param array $request

core/API/DataTableManipulator/ReportTotalsCalculator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ class ReportTotalsCalculator extends DataTableManipulator
3131
private $report;
3232

3333
/**
34-
*
35-
*
3634
* @param bool $apiModule
3735
* @param bool $apiMethod
3836
* @param array $request

core/API/Request.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ public static function getRequestArrayFromString($request, $defaultRequest = nul
145145
}
146146

147147
/**
148-
*
149-
*
150148
* @param string|array $request Query string that defines the API call (must at least contain a **method** parameter),
151149
* eg, `'method=UserLanguage.getLanguage&idSite=1&date=yesterday&period=week&format=xml'`
152150
* If a request is not provided, then we use the values in the `$_GET` and `$_POST`

core/Archive.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,6 @@ private function formatNumericValue($value)
880880
* If this function is not called, then periods with no visits will not add
881881
* entries to the cache. If the archive is used again, SQL will be executed to
882882
* try and find the archive IDs even though we know there are none.
883-
*
884883
*/
885884
private function initializeArchiveIdCache(string $doneFlag)
886885
{

core/Archive/ArchivePurger.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,6 @@ private static function getDefaultCustomRangeToPurgeAgeThreshold()
370370

371371
/**
372372
* For tests.
373-
*
374373
*/
375374
public function setYesterdayDate(Date $yesterday)
376375
{
@@ -379,7 +378,6 @@ public function setYesterdayDate(Date $yesterday)
379378

380379
/**
381380
* For tests.
382-
*
383381
*/
384382
public function setTodayDate(Date $today)
385383
{

core/Archive/DataCollection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ class DataCollection
106106
private $isBuiltWithoutArchives = true;
107107

108108
/**
109-
*
110-
*
111109
* @param array $dataNames @see $this->dataNames
112110
* @param string $dataType @see $this->dataType
113111
* @param array $sitesId @see $this->sitesId

core/ArchiveProcessor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,6 @@ protected function computeNbUniques($metrics, $sites)
632632
/**
633633
* If the DataTable is a Map, sums all DataTable in the map and return the DataTable.
634634
*
635-
*
636635
* @param $data DataTable|DataTable\Map
637636
* @param $columnsToRenameAfterAggregation array
638637
* @return DataTable

core/ArchiveProcessor/Parameters.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ class Parameters
6161
private $foundRequestedReports;
6262

6363
/**
64-
*
65-
*
6664
* @ignore
6765
*/
6866
public function __construct(Site $site, Period $period, Segment $segment)

core/ArchiveProcessor/RecordBuilder.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ public function isEnabled(ArchiveProcessor $archiveProcessor): bool
7070
/**
7171
* Uses the protected `aggregate()` function to build records by aggregating log table data directly, then
7272
* inserts them as archive data.
73-
*
7473
*/
7574
public function buildFromLogs(ArchiveProcessor $archiveProcessor): void
7675
{
@@ -125,7 +124,6 @@ public function buildFromLogs(ArchiveProcessor $archiveProcessor): void
125124
/**
126125
* Builds records for non-day periods by aggregating day records together, then inserts
127126
* them as archive data.
128-
*
129127
*/
130128
public function buildForNonDayPeriod(ArchiveProcessor $archiveProcessor): void
131129
{
@@ -324,7 +322,6 @@ public function getPluginName(): string
324322
/**
325323
* Returns an extra hint for LogAggregator to add to log aggregation SQL. Can be overridden if you'd
326324
* like the origin hint to have more information.
327-
*
328325
*/
329326
public function getQueryOriginHint(): string
330327
{

0 commit comments

Comments
 (0)