silverstripe / silverstripe-raygun

Raygun.com integration for PHP
BSD 3-Clause "New" or "Revised" License
6 stars 23 forks source link

Mistake in the documentation #26

Closed mfendeksilverstripe closed 5 years ago

mfendeksilverstripe commented 6 years ago

The documentation contains this description:

SilverStripe\Core\Injector\Injector:
  SilverStripe\Raygun\RaygunHandler:
    constructor:
      level: 'error'

However, this will break the application because the level is a second param in the constructor not the first. The following change is necessary to make it work:

SilverStripe\Core\Injector\Injector:
  SilverStripe\Raygun\RaygunHandler:
    constructor:
      client: '%$Raygun4php\RaygunClient'
      level: 'error'
micmania1 commented 6 years ago

PR?

sminnee commented 5 years ago

PR Merged