Skip to content

Commit

Permalink
IT-3496-support-laravel-7
Browse files Browse the repository at this point in the history
  • Loading branch information
kvas-damian committed Feb 26, 2021
1 parent 7d7381a commit 3dbc99f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"license":"MIT",
"require":{
"php":">= 7.2",
"illuminate/database":"^6.0",
"illuminate/http":"^6.0",
"illuminate/routing":"^6.0",
"illuminate/support":"^6.0",
"illuminate/database":"^6.0|^7|^8",
"illuminate/http":"^6.0|^7|^8",
"illuminate/routing":"^6.0|^7|^8",
"illuminate/support":"^6.0|^7|^8",
"philkra/elastic-apm-php-agent":"7.0.0-rc3",
"ramsey/uuid":"^3.0",
"ramsey/uuid":"^3.0|^4.0",
"psr/http-message":"^1.0",
"guzzlehttp/guzzle":"~6.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/Apm/SpanCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
*/
class SpanCollection extends Collection
{
public function push($value)
public function push(...$values)
{
if ($this->count() >= config('elastic-apm.spans.maxTraceItems')) {
return;
}

parent::push($value);
parent::push(...$values);
}
}

0 comments on commit 3dbc99f

Please sign in to comment.