Completed
Push — master ( 2488d3...8a2d7c )
by Václav
02:26
created
src/FinanCalc.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -1,32 +1,32 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * FinanCalc
4
- *
5
- * A lightweight, simple and easy PHP library for calculating annuities (e.g., mortgages)
6
- * and other financial instruments according to various input data
7
- *
8
- *
9
- * DISCLAIMER
10
- * You are free to use/modify/extend the library as you please - for it to serve your purpose.
11
- * As per the (un)license, the software is provided as is and the original author cannot be held liable
12
- * for any losses/damages directly or indirectly resulting from using thereof.
13
- * Attribution is welcome, but certainly not required.
14
- *
15
- * NOTE
16
- * The library is currently work-in-progress and it is certain that new features will be added in the process.
17
- * Consider this, therefore, as a preview product prone to abrupt and extensive changes that may affect functionality
18
- * of an external code adapted to a prior version(s) of the library.
19
- * Always explore the provisional compatibility of the library with your project in case you upgrade to a new version
20
- * of the library (by means of an extensive testing of the code in which you are exerting the library's features).
21
- *
22
- * PREREQUISITES
23
- * PHP 5.5+
24
- * Module php-bcmath
25
- *
26
- * @author Václav Uruba
27
- * @version 0.3
28
- * @license http://unlicense.org The Unlicense
29
- */
3
+     * FinanCalc
4
+     *
5
+     * A lightweight, simple and easy PHP library for calculating annuities (e.g., mortgages)
6
+     * and other financial instruments according to various input data
7
+     *
8
+     *
9
+     * DISCLAIMER
10
+     * You are free to use/modify/extend the library as you please - for it to serve your purpose.
11
+     * As per the (un)license, the software is provided as is and the original author cannot be held liable
12
+     * for any losses/damages directly or indirectly resulting from using thereof.
13
+     * Attribution is welcome, but certainly not required.
14
+     *
15
+     * NOTE
16
+     * The library is currently work-in-progress and it is certain that new features will be added in the process.
17
+     * Consider this, therefore, as a preview product prone to abrupt and extensive changes that may affect functionality
18
+     * of an external code adapted to a prior version(s) of the library.
19
+     * Always explore the provisional compatibility of the library with your project in case you upgrade to a new version
20
+     * of the library (by means of an extensive testing of the code in which you are exerting the library's features).
21
+     *
22
+     * PREREQUISITES
23
+     * PHP 5.5+
24
+     * Module php-bcmath
25
+     *
26
+     * @author Václav Uruba
27
+     * @version 0.3
28
+     * @license http://unlicense.org The Unlicense
29
+     */
30 30
 namespace FinanCalc {
31 31
     use Exception;
32 32
     use FinanCalc\Constants\ErrorMessages;
Please login to merge, or discard this patch.
src/Constants/ErrorMessages.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         }
51 51
 
52 52
         /**
53
-         * @param $configField [Name of the expected value as a string]
53
+         * @param string $configField [Name of the expected value as a string]
54 54
          * @return string      [Concatenated message as a string]
55 55
          */
56 56
         static function getConfigFieldNotFoundMessage($configField) {
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         }
63 63
 
64 64
         /**
65
-         * @param $propertyName [Name of the property as a string]
65
+         * @param string $propertyName [Name of the property as a string]
66 66
          * @param string $className    [Name of the class as a string]
67 67
          * @return string       [Concatenated message as a string]
68 68
          */
Please login to merge, or discard this patch.
src/Utils/Strings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
                 $locale = Config::getConfigField("locale");
28 28
             }
29 29
 
30
-            $localePath = FinanCalc::getPath() . "/locale/$locale.php";
30
+            $localePath = FinanCalc::getPath()."/locale/$locale.php";
31 31
 
32 32
             if (!file_exists($localePath)) {
33 33
                 return null;
Please login to merge, or discard this patch.