Completed
Pull Request — master (#17)
by angel
03:07
created
Instapago/InstapagoGateway/InstapagoPayment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@
 block discarded – undo
329 329
     /**
330 330
      * Realiza Transaccion
331 331
      * Efectúa y retornar una respuesta a un metodo de pago.
332
-     *@param $url endpoint a consultar
332
+     *@param string $url endpoint a consultar
333 333
      *@param $fields datos para la consulta
334 334
      *@return $obj array resultados de la transaccion
335 335
      * https://github.com/abr4xas/php-instapago/blob/master/help/DOCUMENTACION.md#PENDIENTE
Please login to merge, or discard this patch.
Instapago/autoload.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,8 +27,8 @@
 block discarded – undo
27 27
  * @copyright 2016 Angel Cruz
28 28
  */
29 29
 
30
-spl_autoload_register(function ($class) {
31
-    $file = dirname(__DIR__).DIRECTORY_SEPARATOR.str_replace('\\', DIRECTORY_SEPARATOR, $class).'.php';
30
+spl_autoload_register(function($class) {
31
+    $file = dirname(__DIR__) . DIRECTORY_SEPARATOR . str_replace('\\', DIRECTORY_SEPARATOR, $class) . '.php';
32 32
 
33
-    return (!is_file($file)) ?: require $file;
33
+    return ( ! is_file($file)) ?: require $file;
34 34
 });
Please login to merge, or discard this patch.