Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

reflection set-accessible check

  • Loading branch information...
commit a7c75172c3cb3ae392f4ccdb7280524873569548 1 parent 692a8c6
pce authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  tests/Config_LiteTest.php
2  tests/Config_LiteTest.php
@@ -333,7 +333,7 @@ protected function getMethod($name)
333 333 {
334 334 $class = new ReflectionClass('Config_Lite');
335 335 $method = $class->getMethod($name);
336   - if (!method_exists($class, 'setAccessible')) {
  336 + if (!method_exists($method, 'setAccessible')) {
337 337 $this->markTestSkipped("This test requires PHP 5.3.0+");
338 338 }
339 339 $method->setAccessible(true);

0 comments on commit a7c7517

Please sign in to comment.
Something went wrong with that request. Please try again.